onTouchEvent

abstract fun onTouchEvent(motionEvent: MotionEvent?): Boolean

Called when user touches the screen, all positions are absolute.

Forwards event to the related gesture detectors.

Return

True if touch event is handled

Parameters

motionEvent

the MotionEvent