public static class AdapterView.AdapterContextMenuInfo
extends Object
implements ContextMenu.ContextMenuInfo
java.lang.Object | |
↳ | android.widget.AdapterView.AdapterContextMenuInfo |
当为此AdapterView提供上下文菜单时,提供给 onCreateContextMenu(ContextMenu, View, ContextMenuInfo)
回调的额外菜单信息。
Fields |
|
---|---|
public long |
id 正在显示上下文菜单的项目的行ID。 |
public int |
position 正在显示上下文菜单的适配器中的位置。 |
public View |
targetView 正在显示上下文菜单的子视图。 |
Public constructors |
|
---|---|
AdapterView.AdapterContextMenuInfo(View targetView, int position, long id) |
Inherited methods |
|
---|---|
From class java.lang.Object
|
AdapterView.AdapterContextMenuInfo (View targetView, int position, long id)
Parameters | |
---|---|
targetView |
View
|
position |
int
|
id |
long
|