public static interface FlexibleAdapter.OnItemClickListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onItemClick(android.view.View view,
int position)
Called when single tap occurs.
|
boolean onItemClick(android.view.View view,
int position)
The click event is generated from the itemView or any view inside it (if registered).
Here, we check if one of the selection mode (SINGLE or MULTI) is enabled in order
to activate the itemView.
To register the click event to any subview, just assign the ViewHolder instance as click
listener to that view.view - the view that generated the eventposition - the adapter position of the item clicked