detect Move Gestures
suspend fun detectMoveGestures(onMoveBegin: (MoveGestureDetector) -> Unit = {}, onMoveEnd: (MoveGestureDetector) -> Unit = {}, onMove: (MoveGestureDetector) -> Boolean = { false })
Registers an OnMoveListener and suspends until cancellation.
Parameters
on Move Begin
called when the move gesture starts.
on Move
called during the move gesture. Return true to consume the event.
on Move End
called when the move gesture ends.