onScaleChanged

public abstract void onScaleChanged(float newScale, int origin)

The scale has changed. Use with getMaxScale and getMinScale to determine whether the image is fully zoomed in or out.

Parameters

newScale

The new scale.

origin

Where the event originated from - one of ORIGIN_ANIM, ORIGIN_TOUCH.