Hi everybody, First of all, sorry for my poor english :-/ I write a program containing a focusable spinner.... I have a thread that update my spinner with a "mySpinner.setAdapter(new ArrayAdapter(....));" I add a listener to the action setOnItemSelectedListener.
When my thread update my spinner, the spinner list is updated and if the focus was previously to my spinner i receive 2 events from itemSelected! The first Event is "correct" corresponding on the first element of my new updated list (why not.. it's correct for me..) but a second event corresponding to my previous selected item... (like if android remember what previous element was selected and reset my list to select this element..). How may i disable onItemSeletedListener (for example..) when my thread do a mySpinner.setAdapter( ... ) ? --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

