android.view
public
static
interface
android.view.View.OnPopulateContextMenuListener
| android.view.View.OnPopulateContextMenuListener |
|
Interface definition for a callback to be invoked when the context menu
for this view is being built.
Known Indirect Subclasses
| ExpandableListActivity |
An activity that displays an expandable list of items by binding to a data
source implementing the ExpandableListAdapter, and exposes event handlers
when the user selects an item. |
Summary
Details
Public Methods
public
void
onPopulateContextMenu(ContextMenu menu, View v, Object menuInfo)
Called when the context menu for this view is being built
Parameters
| menu
| The context menu that is being built |
| v
| The view for which the context menu is being built |
| menuInfo
| Extra information about the item for which the
context menu should be shown. This information will vary
depending on the class of v.
|