Call func
when there is a click on an item.
Call func
when there is a click on an item. Arguments to
func
are the View
that was hit, its position, and the
id
of the corresponding item. The handler can call
getItemAtPosition
to get the item itself, if need be.
Call func
when there is a long click on an item.
Call func
when there is a long click on an item. Arguments to
func
are the View
that was hit, its position, and the
id
of the corresponding item. The handler can call
getItemAtPosition
to get the item itself, if need be.
The framework is always told that the event was handled; use
onItemLongClickMaybe
if your handler might want to decline
the event, and leave it to the framework.
Call func
when there is a long click on an item.
Call func
when there is a long click on an item. Arguments to
func
are the View
that was hit, its position, and the
id
of the corresponding item.
Return value is true
if the event was handled; false
otherwise.
Call func
when an item is selected.
Call func
when an item is selected. Arguments to
func
are the View
that was hit, its position, and the
id
of the corresponding item. The handler can call
getItemAtPosition
to get the item itself, if need be.
Call func
when the selection vanishes from this view ---
either because "touch is activated" (quoth the platform docs)
or because the adapter is now empty.
Return the item relevant to the ContextMenu
selection which gave
us this ContextMenuInfo
.
"JQuery-style" handler declarations for AdapterView-specific events.