public abstract class OnItemClickListener extends SimpleClickListener
A convenience class to extend when you only want to OnItemClickListener for a subset
of all the SimpleClickListener. This implements all methods in the
SimpleClickListener
baseQuickAdapter, TAG| Constructor and Description |
|---|
OnItemClickListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onItemChildClick(BaseQuickAdapter adapter,
android.view.View view,
int position)
callback method to be invoked when an itemchild in this view has been click
|
void |
onItemChildLongClick(BaseQuickAdapter adapter,
android.view.View view,
int position)
callback method to be invoked when an item in this view has been
click and held
|
void |
onItemClick(BaseQuickAdapter adapter,
android.view.View view,
int position)
Callback method to be invoked when an item in this AdapterView has
been clicked.
|
void |
onItemLongClick(BaseQuickAdapter adapter,
android.view.View view,
int position)
callback method to be invoked when an item in this view has been
click and held
|
abstract void |
onSimpleItemClick(BaseQuickAdapter adapter,
android.view.View view,
int position) |
inRangeOfView, onInterceptTouchEvent, onRequestDisallowInterceptTouchEvent, onTouchEventpublic void onItemClick(BaseQuickAdapter adapter, android.view.View view, int position)
SimpleClickListeneronItemClick in class SimpleClickListenerview - The view within the AdapterView that was clicked (this
will be a view provided by the adapter)position - The position of the view in the adapter.public void onItemLongClick(BaseQuickAdapter adapter, android.view.View view, int position)
SimpleClickListeneronItemLongClick in class SimpleClickListenerview - The view whihin the AbsListView that was clickedposition - The position of the view int the adapterpublic void onItemChildClick(BaseQuickAdapter adapter, android.view.View view, int position)
SimpleClickListeneronItemChildClick in class SimpleClickListenerview - The view whihin the AbsListView that was clickedposition - The position of the view int the adapterpublic void onItemChildLongClick(BaseQuickAdapter adapter, android.view.View view, int position)
SimpleClickListeneronItemChildLongClick in class SimpleClickListenerview - The view whihin the AbsListView that was clickedposition - The position of the view int the adapterpublic abstract void onSimpleItemClick(BaseQuickAdapter adapter, android.view.View view, int position)