InterceptTouchEvent

Components should implement an event of this type in order to intercept Android touch events. The method is equivalent to the Android method ViewGroup.onInterceptTouchEvent - implementations should return true if they intercepted the event and wish to receive subsequent events, and false An example of the correct usage is:

@OnEvent(InterceptTouchEvent.class)
static boolean onInterceptTouchEvent(
@FromEvent View view,
@FromEvent MotionEvent motionEvent,
@Param Param someParam,
@Prop Prop someProp) {
return shouldInterceptEvent(someParam, someProp)
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
lateinit var motionEvent: MotionEvent
Link copied to clipboard
lateinit var view: View