public interface OnTouchListener<Item extends IItem>
| Modifier and Type | Method and Description |
|---|---|
boolean |
onTouch(android.view.View v,
android.view.MotionEvent event,
IAdapter<Item> adapter,
Item item,
int position)
the onTouch event of a specific item inside the RecyclerView
|
boolean onTouch(android.view.View v,
android.view.MotionEvent event,
IAdapter<Item> adapter,
Item item,
int position)
v - the view we clickedevent - the touch eventadapter - the adapter which is responsible for the given itemitem - the IItem which was clickedposition - the global position