Just wondering if anyone can help with this - I\'m learning and unable to figure it out......
If I register a GridView object with a Context Menu as follows:
<
In onContextItemSelected() method, you can get the index of the item on the Grid by using:
onContextItemSelected()
AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); int index = info.position;
Then use this index for everything you want :)