AdapterContextMenuInfo
open class AdapterContextMenuInfo : ContextMenu.ContextMenuInfo
| kotlin.Any | |
| ↳ | android.widget.AdapterView.AdapterContextMenuInfo |
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.
Summary
Public constructors |
|
|---|---|
Properties |
|
|---|---|
| Long |
The row id of the item for which the context menu is being displayed. |
| Int |
The position in the adapter for which the context menu is being displayed. |
| View! |
The child view for which the context menu is being displayed. |
Public constructors
Properties
id
var id: Long
The row id of the item for which the context menu is being displayed.
position
var position: Int
The position in the adapter for which the context menu is being displayed.
targetView
var targetView: View!
The child view for which the context menu is being displayed. This will be one of the children of this AdapterView.