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(MotionEvent)
- implementations should return true if
they intercepted the event and wish to receive subsequent events, and false otherwise. An
example of the correct usage is:
{@literal @}OnEvent(InterceptTouchEvent.class)
static boolean onInterceptTouchEvent(
{@literal @}FromEvent View view,
{@literal @}FromEvent MotionEvent motionEvent,
{@literal @}Param Param someParam,
{@literal @}Prop Prop someProp) {
return shouldInterceptEvent(someParam, someProp);
}