Components should implement an event of this type in order to intercept Android touch events. The method is equivalent to the Android method onInterceptTouchEvent - 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:

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


Link copied to clipboard


Link copied to clipboard
Link copied to clipboard
open var view: View