public class LegendTouchListener extends Object implements RecyclerView.OnItemTouchListener
Modifier and Type | Class and Description |
---|---|
static interface |
LegendTouchListener.LegendItemClickListener |
Constructor and Description |
---|
LegendTouchListener(Context context,
RecyclerView recycleView,
LegendTouchListener.LegendItemClickListener clickListener) |
Modifier and Type | Method and Description |
---|---|
boolean |
onInterceptTouchEvent(RecyclerView rv,
MotionEvent e) |
void |
onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) |
void |
onTouchEvent(RecyclerView rv,
MotionEvent e) |
public LegendTouchListener(Context context, RecyclerView recycleView, LegendTouchListener.LegendItemClickListener clickListener)
public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e)
onInterceptTouchEvent
in interface RecyclerView.OnItemTouchListener
public void onTouchEvent(RecyclerView rv, MotionEvent e)
onTouchEvent
in interface RecyclerView.OnItemTouchListener
public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept)
onRequestDisallowInterceptTouchEvent
in interface RecyclerView.OnItemTouchListener