Hello developers! I'm kind of got familiar with the Android developing
and Java, but I have a problem. Working on an application I need have
a page with a Spinner, 2 buttons(Add and Clear") and 1 EditText. I
want that user to be able to populate the Spinner by entering an item
in the EditText and when the Add button is pressed that word to become
a Spinner item. Also I want to when the user presses Clear to
eliminate all the items in the Spinner. I've searched the Internet for
a solution but I didn't really find a corect and helpful solution. I
was thinking to save the EditText content in an String (which I named
"items") and then pass it to the Spinner with an Array Adapter, but it
doesn't really works.
I will be very thankful if someone can write the code with no kind o
explanations.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to