SimpleOnMoveListener

A convenience class to extend when you only want to listen for a subset of move-related events

This implements all methods in OnMoveListener but does nothing. OnMoveListener.onMove returns false so that a subclass can retrieve the accumulated moving factor in an overridden OnMoveListener.onMoveEnd. OnMoveListener.onMoveBegin returns true.

Inheritors

Functions

Link copied to clipboard
open override fun onMove(detector: MoveGestureDetector, e: MotionEvent): Boolean

Responds to moving events for a gesture in progress

Link copied to clipboard
open override fun onMoveBegin(detector: MoveGestureDetector, e: MotionEvent): Boolean

Responds to the beginning of a moving gesture

Link copied to clipboard
open override fun onMoveEnd(detector: MoveGestureDetector, e: MotionEvent)

Responds to the end of a move gesture