public static class ExpandableHListView.ExpandableListContextMenuInfo
extends java.lang.Object
implements android.view.ContextMenu.ContextMenuInfo
ExpandableHListView provided
to the
android.view.View.OnCreateContextMenuListener#onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
callback when a context menu is brought up for this AdapterView.| Modifier and Type | Field and Description |
|---|---|
long |
id
The ID of the item (group or child) for which the context menu is
being displayed.
|
long |
packedPosition
The packed position in the list represented by the adapter for which
the context menu is being displayed.
|
android.view.View |
targetView
The view for which the context menu is being displayed.
|
| Constructor and Description |
|---|
ExpandableHListView.ExpandableListContextMenuInfo(android.view.View targetView,
long packedPosition,
long id) |
public android.view.View targetView
ExpandableHListView.public long packedPosition
ExpandableHListView.getPackedPositionType(long),
ExpandableHListView.getPackedPositionChild(long), and
ExpandableHListView.getPackedPositionGroup(long) to unpack this.public long id