Hi,
I have the following question:
I created a Spinner and use an ArrayAdapter to populate it. This is done in
the onCreate() method of my activity. In there, I use
myAdapter.add(new String ("...");
to add items to the spinner, which works fine.
However, if I use myAdapter.add(...) later in the program, it crashes. I
don't understand why.
So how can I add an item to the Spinner later in the program?
Thanks for your help!
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---