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?

Thanks!

-Aaron
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. No Network Connectivity in Service/AlarmManager Process.

I have Threads because when the Alarm triggers I want to do two
separate things, although they don't necessarily have to be at the
*same* time so I'll remove the Thread.

For the WiFi lock I'm acquiring and releasing two locks now. Is that
about right?

My WiFi lock looks like:

PowerManager mgr =
(PowerManager)context.getSystemService(Context.WIFI_SERVICE);
lockWifi = mgr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
LOCK_NAME_WIFI);
lockWifi.setReferenceCounted(true);

Thanks






-- 

2. minSdkVersion set to 3, but device with 1.5 firmware doesnt recognize the app

Hi there,

I have set my in my application's manifest minSdkVersion="3" (I havent set
any targetSdkVersion).

A friend purchased an HTC Magic with firmware 1.5 and he can't view the app
in the market or download the app from a market url. It seems as if the app
is not compatible with the device even though it should, right?
Any ideas why this happens?

any thoughts are welcome!!

cheers!!!

-- 

3. Wifi API - enableNetwork()

4. List providers - does it work for Android 1.5?

5. How to have a notification icon with image + text

6. How to have a notification icon with image + text

7. How to display icon on the status bar?