Android: How to find the position clicked from the context menu
- by Josemalive
Hi,
I have a list view filled with data. I set up a context menu for the listview using the following code:
list.setOnCreateContextMenuListener
(
new View.OnCreateContextMenuListener()
{
public void onCreateContextMenu(ContextMenu menu, View view, ContextMenu.ContextMenuInfo menuInfo)
{
AdapterContextMenuInfo mi…