onInterceptTouchEvent

abstract fun onInterceptTouchEvent(view: ViewGroup, event: MotionEvent): Boolean

Called when a onInterceptTouch is invoked on a view group

Return

Return true to steal motion event from the children and have the dispatched to this view, or return false to allow motion event to be delivered to children view

Parameters

v

The view group the onInterceptTouch has been called on

event

The motion event being dispatched down the hierarchy.