I created a bug report for this exact same issue a few days ago. Please star it if it's important to you:
http://code.google.com/p/android/issues/detail?id=6223 On Jan 27, 6:43 pm, navlrac <[email protected]> wrote: > Did anyone figure this out? I have the same issue. > Additionally, I have a spinner backed by a cursor and its not > guaranteed that the selected item is still in the database when > restoring. I've been thinking along the lines of scanning the cursor > to find the previous selected item, but haven't found a nice way to do > it yet. > > On Dec 28 2009, 11:18 pm, Arif <[email protected]> wrote: > > > > > I was trying the API Demos that come along with Android SDK v1.5 > > If you select an item in a spinner widget and change the orientation > > of the phone twice the selection goes. > > > I am having similar problem in my app, I just checked the Demo app and > > the behaviour appears to be same. When you change the orientation say > > from Portrait to Landscape the text you selected is there, do it once > > more and the first item in the list appears as selected option. > > > Is it a bug or is it that we explicitly need to maintain state with a > > spinner control?- Hide quoted text - > > - Show quoted text - -- 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

