mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-10 02:53:46 +02:00
Updated recyclerview selection to versio 1.1.0-alpha02
This commit is contained in:
@@ -33,10 +33,18 @@ final class MotionEvents {
|
||||
return e.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE;
|
||||
}
|
||||
|
||||
static boolean isTouchEvent(@NonNull MotionEvent e) {
|
||||
return e.getToolType(0) == MotionEvent.TOOL_TYPE_FINGER;
|
||||
}
|
||||
|
||||
static boolean isActionMove(@NonNull MotionEvent e) {
|
||||
return e.getActionMasked() == MotionEvent.ACTION_MOVE;
|
||||
}
|
||||
|
||||
static boolean isActionDown(@NonNull MotionEvent e) {
|
||||
return e.getActionMasked() == MotionEvent.ACTION_DOWN;
|
||||
}
|
||||
|
||||
static boolean isActionUp(@NonNull MotionEvent e) {
|
||||
return e.getActionMasked() == MotionEvent.ACTION_UP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user