public abstract class AbstractItemClickListener
extends java.lang.Object
implements androidx.recyclerview.widget.RecyclerView.OnItemTouchListener
| Modifier and Type | Field and Description |
|---|---|
protected android.view.GestureDetector |
mGestureDetector |
protected CellRecyclerView |
mRecyclerView |
protected SelectionHandler |
mSelectionHandler |
protected ITableView |
mTableView |
| Constructor and Description |
|---|
AbstractItemClickListener(CellRecyclerView recyclerView,
ITableView tableView) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
clickAction(androidx.recyclerview.widget.RecyclerView view,
android.view.MotionEvent e) |
protected abstract boolean |
doubleClickAction(android.view.MotionEvent e) |
protected ITableViewListener |
getTableViewListener() |
protected abstract void |
longPressAction(android.view.MotionEvent e) |
boolean |
onInterceptTouchEvent(androidx.recyclerview.widget.RecyclerView view,
android.view.MotionEvent e) |
void |
onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) |
void |
onTouchEvent(androidx.recyclerview.widget.RecyclerView view,
android.view.MotionEvent motionEvent) |
@NonNull protected android.view.GestureDetector mGestureDetector
@NonNull protected CellRecyclerView mRecyclerView
@NonNull protected SelectionHandler mSelectionHandler
@NonNull protected ITableView mTableView
public AbstractItemClickListener(@NonNull
CellRecyclerView recyclerView,
@NonNull
ITableView tableView)
public boolean onInterceptTouchEvent(@NonNull
androidx.recyclerview.widget.RecyclerView view,
@NonNull
android.view.MotionEvent e)
onInterceptTouchEvent in interface androidx.recyclerview.widget.RecyclerView.OnItemTouchListenerpublic void onTouchEvent(@NonNull
androidx.recyclerview.widget.RecyclerView view,
@NonNull
android.view.MotionEvent motionEvent)
onTouchEvent in interface androidx.recyclerview.widget.RecyclerView.OnItemTouchListenerpublic void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept)
onRequestDisallowInterceptTouchEvent in interface androidx.recyclerview.widget.RecyclerView.OnItemTouchListener@NonNull protected ITableViewListener getTableViewListener()
protected abstract boolean clickAction(@NonNull
androidx.recyclerview.widget.RecyclerView view,
@NonNull
android.view.MotionEvent e)
protected abstract void longPressAction(@NonNull
android.view.MotionEvent e)
protected abstract boolean doubleClickAction(@NonNull
android.view.MotionEvent e)