public void setScaleType(ScaleType scaleType) {
        if (Util.isSupportedScaleType(scaleType) && scaleType != mScaleType) {
            mScaleType = scaleType;
            update();
        }
    }
Set the zoom interpolator

@param interpolator the zoom interpolator
main/src/main/java/com/quxianggif/common/view/photoview/PhotoViewAttacher.java