Build 1.0_r1(from source)

android.widget
Class AdapterView.AdapterContextMenuInfo

java.lang.Object
  extended by 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.
 
Constructor Summary
AdapterView.AdapterContextMenuInfo(View targetView, int position, long id)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

AdapterView.AdapterContextMenuInfo

public AdapterView.AdapterContextMenuInfo(View targetView,
                                          int position,
                                          long id)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature