getSelectedItemPosition() not working

by WildLuka » Sun, 06 Apr 2008 22:01:25 GMT


Sponsored Links
 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
--~--~---------~--~----~------------~-------~--~----~



getSelectedItemPosition() not working

by Romain Guy » Sun, 06 Apr 2008 22:03:00 GMT


 It's probably because you are in touch mode. After you touch the
screen, the selection disappears.






-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Nx1 (2nd

Thanks All ;)  SOL

2. My app is missing in HTC tattoo market

Hi, I have postet an app in market, which doesn't show up in HTC
tattoo.
In the manifest I have the following:

 <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="5" />
        <supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />


but still it doesn't show. Does anyone have an idea about what could
be wrong

3. how to verify whether an application is lauched or not

4. setContentView fails when creating a new activity

5. communication between android phone and pc using 3G network

6. OutOfMemory Error (Animation)

7. Getting "some" of the Android source