OnScaleListener

interface OnScaleListener

The listener for receiving notifications when gestures occur.

If you want to listen for all the different gestures then implement this interface.

An application will receive events in the following order:

Inheritors

Functions

Link copied to clipboard
abstract fun onScale(detector: ScaleGestureDetector, e: MotionEvent): Boolean

Responds to scaling events for a gesture in progress.

Link copied to clipboard

Responds to the beginning of a scaling gesture. Reported by new pointers going down.

Link copied to clipboard
abstract fun onScaleEnd(detector: ScaleGestureDetector, e: MotionEvent)

Responds to the end of a scale gesture. Reported by existing pointers going up.