I have googled around and I saw some posts about being in "touch
screen mode" -- I don't fully understand what that means.

However, I cannot seem to get this call to work - it always returns
-1.

I am doing a "long press" on an item in a grid view, and I've
registered for the long press for the entire grid.  When I receive a
long press, I go ask the grid what the selected item is, and it always
returns -1, even though I can visually see the item selected!

I tried calling GridView.getSelectedView() (in hopes of calling
GridView.getPositionForView() later), but that returns null.

any help greatly appreciated.

tia.
-- 
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

Reply via email to