André wrote: > What I don't know if it's possible is if I can have two different > context menus for the two lists?
Yes. > And second, is there a way to check in which of the two lists the user > has selected an item? Yes, with difficulty. Cast the MenuInfo you get in onContextItemSelected() to an AdapterView.AdapterContextMenuInfo. Then, the targetView field will be the row View the user long-tapped upon. From there, you can use getParent() to find the ListView, should you need it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6 Available! -- 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

