How to get on which ListView has been a ContextItem selected?

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-05-18T12:47:10Z Indexed on 2010/05/18 12:51 UTC
Read the original article Hit count: 163

I have a screen with three listviews, each having three different cursors, but all have the same ContextMenu show/resolve code and when the selection event fires, I want to get the ListView to refresh it.

I can't use menuInfo.targetView, as that holds the LinearLayout for the ListView row, and not the ListView.

in this method

 public boolean onContextItemSelected(MenuItem item) 

How is possible?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk