完整内容,请参考:http://www.zhdoc.net/android/reference/android/widget/AdapterView.AdapterContextMenuInfo.html
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 onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
callback when a context menu is brought up for this AdapterView.
当为这个AdapterView弹出一个上下文菜单时,提供给onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
方法的额外的菜单信息。
摘要
字段 | |
---|---|
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构造方法 | |
---|---|
AdapterView.AdapterContextMenuInfo(View targetView, int position, long id) |