[android-beginners] Re: Getting ListView position in touch mode

2009-08-14 Thread Greg Hedin
That is awesome. Thank you so much. I don't have to use getPosition at all. So whether it was a long touch or a trackball long click, info.position is all I need. Cheers! Greg Hedin On Aug 13, 10:43 pm, Romain Guy romain...@google.com wrote: @Override public boolean

[android-beginners] Re: Getting ListView position in touch mode

2009-08-13 Thread Romain Guy
@Override public boolean onContextItemSelected(MenuItem item) { final AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); // Use the info object to get the position, targetView, etc. } On Thu, Aug 13, 2009 at 1:29 PM, Greg