onGenericMotionEvent

open override fun onGenericMotionEvent(event: MotionEvent): Boolean

Called when a generic motion event has occurred.

Return

true to indicate the touch event has been handled