public static class ExpandableListView.ExpandableListContextMenuInfo
extends Object implements ContextMenu.ContextMenuInfo
| java.lang.Object | |
| android.widget.ExpandableListView.ExpandableListContextMenuInfo | |
当针对此AdapterView提供上下文菜单时,提供给 onCreateContextMenu(ContextMenu, View, ContextMenuInfo)回调的特定于 ExpandableListView额外菜单信息。
Fields |
|
|---|---|
public long |
id 正在显示上下文菜单的项目(组或子项)的ID。 |
public long |
packedPosition 正在显示上下文菜单的适配器所表示的列表中的打包位置。 |
public View |
targetView 正在显示上下文菜单的视图。 |
Public constructors |
|
|---|---|
ExpandableListView.ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
long packedPosition
正在显示上下文菜单的适配器所表示的列表中的打包位置。 使用方法getPackedPositionType(long) , getPackedPositionChild(long) ,并getPackedPositionGroup(long)解压这一点。
ExpandableListView.ExpandableListContextMenuInfo (View targetView, long packedPosition, long id)
| 参数(Parameters) | |
|---|---|
targetView |
View
|
packedPosition |
long
|
id |
long
|