onTouchEvent

open override fun onTouchEvent(ev: MotionEvent?): Boolean

Implement this method to handle touch screen motion events.

Return

true if the event is consumed; else false

Parameters

ev

The motion event.