public static class ExpandableListView.ExpandableListContextMenuInfo extends Object implements ContextMenu.ContextMenuInfo
ExpandableListView
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.
|
View |
targetView
The view for which the context menu is being displayed.
|
Constructor and Description |
---|
ExpandableListView.ExpandableListContextMenuInfo(View targetView,
long packedPosition,
long id) |
public View targetView
ExpandableListView
.public long packedPosition
ExpandableListView.getPackedPositionType(long)
,
ExpandableListView.getPackedPositionChild(long)
, and
ExpandableListView.getPackedPositionGroup(long)
to unpack this.public long id
public ExpandableListView.ExpandableListContextMenuInfo(View targetView, long packedPosition, long id)