ScaleGestureDetector
open class ScaleGestureDetector(context: Context, listener: ScaleGestureDetector.OnScaleListener) : ScaleGestureDetector
Detects scaling transformation gestures using the supplied MotionEvents.
The android.view.ScaleGestureDetector.OnScaleGestureListener 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 {@code ScaleGestureDetector} 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.
Types
Link copied to clipboard
interface OnScaleListener
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 scale-related events.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard