Spinners not displaying selected item

by Aaron » Wed, 05 Aug 2009 11:02:28 GMT

Sponsored Links
 I have a set of spinners that are working just fine, well mostly.

When I click a button that takes me to another Activity and come back
the spinners appear to have nothing selected.  If I tap on them they
show all of my items and the radio button for the item that is
supposed to be selected shows that it is.  It just isn't showing in
the spinner correctly.

If I leave the Activity and re-enter it then the spinners behave
correctly.  Do I need to rebuild them even when I navigate back into
the Activity?



Other Threads

1. Where can I find the emulator console???

Hi everyone,
do you know where the emulator console is???
I wanted to use my location with the geo-location, but I cant find
the emulator console!!!

Thanks in advance



2. AAPT problem (exit code 139)

Hello All,

I'm using aapt to generate R.java class from resource directories
(from an Ant build), I have two resource directories in a project:
resources of an application itself, and resources required for unit
tests. When I build .apk with unit tests (to launch tests on the
emulator) I have to include both.

aapt's help message says that it is possible to specify more than one
resource sources directory using -S key:

[-S resource-sources [-S resource sources]]

but when I try this, Ant build fails with message

exec returned 139.

Once I try it with only one -S switch everything works fine. Earlier I
copied resources from various locations to a temporarily resource
directory and specified it as a source, but now I decided to simplify
my build a little bit and can not this.

Any ideas what could be wrong there?

Ubuntu 7.10/JDK 1.6
Android SDK 1.5/aapt v. 0.2
(I don't use Eclipse and ADT)

Thank you in advance.

3. Create Bitmap from BitmapDrawable?

4. adb shell am profile

5. Sad Application Sales...

6. Where is arm-none-linux-gnueabi-gdb equivalent on MacOS

7. first meeting in 2 nd calendar @ Wed May 27 12:30pm 鈥?1:30pm (Android Develop ers