android.widget
Class AdapterView.AdapterContextMenuInfo
java.lang.Object
android.widget.AdapterView.AdapterContextMenuInfo
- All Implemented Interfaces:
- ContextMenu.ContextMenuInfo
- Enclosing class:
- AdapterView<T extends Adapter>
public static class AdapterView.AdapterContextMenuInfo
- extends Object
- implements ContextMenu.ContextMenuInfo
Extra menu information provided to the
android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
callback when a context menu is brought up for this AdapterView.
|
Field Summary |
long |
id
The row id of the item for which the context menu is being displayed. |
int |
position
The position in the adapter for which the context menu is being
displayed. |
View |
targetView
The child view for which the context menu is being displayed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetView
public View targetView
- The child view for which the context menu is being displayed. This
will be one of the children of this AdapterView.
position
public int position
- The position in the adapter for which the context menu is being
displayed.
id
public long id
- The row id of the item for which the context menu is being displayed.
AdapterView.AdapterContextMenuInfo
public AdapterView.AdapterContextMenuInfo(View targetView,
int position,
long id)
Please submit a feedback, bug or feature