Android
android.widget
public static class

android.widget.ExpandableListView.ExpandableListContextMenuInfo

java.lang.Object
android.widget.ExpandableListView.ExpandableListContextMenuInfo ContextMenu.ContextMenuInfo

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)
Methods inherited from class java.lang.Object

Details

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. Use the methods getPackedPositionType(long), getPackedPositionChild(long), and getPackedPositionGroup(long) to unpack this.

public View targetView

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)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48