Jason Mallet-Prevost wrote:
> I'll have to read up on context menus a little more when I get the
> chance.  Right now I have 2 Views with contextMenus called as
> registerForContextMenu(View1); and  registerForContextMenu(View2); and
> theyre both pulling up the same menu.

onCreateContextMenu() is passed the View for which you need to create
the context menu. Hence, in your case, it'll be called twice, and you'll
need to examine the passed-in View to figure out which list is which.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

-- 
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

Reply via email to