TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Saqi
NA
63
122.6k
How to Re-show item into Spinner
Jul 26 2012 3:59 PM
I have already items store in my Spinner combobox .
i saved one of them item into database .
now i am trying to retrieve data from database to specific their places
successful to get data into edittext checkbox but fail to get item into spinner as Re-show which is already added just i want show that what was i saved How ?
my spinner already have items:
String[] items1 = new String[] {" ","Solteiro","Viuvo","Seprado","Casado","Divorciado"};
final Spinner estado = (Spinner)findViewById(R.id.estado_civil);
ArrayAdapter<String> adapter1 = new ArrayAdapter<String>(this,
android.R.layout.simple_spinner_item, items1);
adapter1.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
estado.setAdapter(adapter1);
Reply
Answers (
1
)
how to reach database of my andorid device
Android Development