It's probably because you are in touch mode. After you touch the screen, the selection disappears.
On Sun, Apr 6, 2008 at 3:01 PM, WildLuka <[EMAIL PROTECTED]> wrote: > > hi, > > i'm calling getSelectedItemPosition() from ListActivity and I get -1 > after selecting any item in the list. > > this behaviour is totally unexpected. > > your help will be appreciated ! > > Thanks in advance > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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] 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

