# Print output for @column tags ?> AdapterView.AdapterContextMenuInfo - Android SDK | Android Developers

Most visited


Recently visited


AdapterView.AdapterContextMenuInfo

public static class AdapterView.AdapterContextMenuInfo
extends Object implements ContextMenu.ContextMenuInfo

java.lang.Object
   ↳ android.widget.AdapterView.AdapterContextMenuInfo


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

Summary


Fields

public long id

The row id of the item for which the context menu is being displayed.

public int position

The position in the adapter for which the context menu is being displayed.

public View targetView

The child view for which the context menu is being displayed.

Public constructors

AdapterContextMenuInfo(View targetView, int position, long id)

Inherited methods

Fields


id

public long id

The row id of the item for which the context menu is being displayed.

position

public int position

The position in the adapter for which the context menu is being displayed.

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.

Public constructors


AdapterContextMenuInfo

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

Parameters
targetView View

position int

id long

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.