onTouch

open fun onTouch(v: View, event: MotionEvent): Boolean(source)

Handles touch events by activating automatic scrolling, adjusting scroll velocity, or stopping.

If isExclusive is false, always returns false so that the host view may handle touch events. Otherwise, returns true when automatic scrolling is active and false otherwise.