MoveGestureDetector
Detects move transformation gestures using the supplied MotionEvents
The OnMoveListener callback will notify users when a particular gesture event has occurred.
This class should only be used with MotionEvents reported via touch.
To use this class:
Create an instance of the MoveGestureDetector for your android.view.View
In the android.view.View.onTouchEvent method ensure you call onTouchEvent. The methods defined in your callback will be executed when the events occur.
Parameters
context
the application's context
listener
the listener invoked for all the callbacks, this must not be null
Types
Link copied to clipboard
interface OnMoveListener
The listener for receiving notifications when gestures occur
Link copied to clipboard
A convenience class to extend when you only want to listen for a subset of move-related events