Class Overview
This class processes touch events to determine if they are a "click". OnClickListeners prevent event propagation which breaks a parent ViewPager. Instead, we must be inspect touch events to determine "clicks", but also propagate them to allow drag events to scroll the parent.
Summary
Public Methods |
boolean
|
onTouch(View v, MotionEvent e)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.view.View.OnTouchListener
abstract
boolean
|
onTouch(View arg0, MotionEvent arg1)
|
|
Public Constructors
public
AppLovinTouchToClickListener
(Context context, View.OnClickListener clickListener)
Public Methods
public
boolean
onTouch
(View v, MotionEvent e)