@MainThread public interface OnItemLongClickListener<E>
| Modifier and Type | Method and Description |
|---|---|
boolean |
onItemLongClick(View view,
E item,
int position)
Callback method to be invoked when an item in this AdapterView has
been clicked and held.
|
boolean onItemLongClick(@NonNull View view, @NonNull E item, int position)
view - the view that was clicked and held (this will be a view provided by the adapter).item - the data entity that was clicked and held.position - the position of the data entity in the adapter.