Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static class

ExpandableListView.ExpandableListContextMenuInfo

extends Object
implements ContextMenu.ContextMenuInfo
java.lang.Object
   ↳ android.widget.ExpandableListView.ExpandableListContextMenuInfo

Class Overview

Extra menu information specific to an ExpandableListView provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView.

Summary

Fields
public long id The ID of the item (group or child) for which the context menu is being displayed.
public long packedPosition The packed position in the list represented by the adapter for which the context menu is being displayed.
public View targetView The view for which the context menu is being displayed.
Public Constructors
ExpandableListView.ExpandableListContextMenuInfo ( View targetView, long packedPosition, long id)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public long id

Added in API level 1

The ID of the item (group or child) for which the context menu is being displayed.

public long packedPosition

Added in API level 1

The packed position in the list represented by the adapter for which the context menu is being displayed. Use the methods getPackedPositionType(long) , getPackedPositionChild(long) , and getPackedPositionGroup(long) to unpack this.

public View targetView

Added in API level 1

The view for which the context menu is being displayed. This will be one of the children Views of this ExpandableListView .

Public Constructors

public ExpandableListView.ExpandableListContextMenuInfo ( View targetView, long packedPosition, long id)

Added in API level 1