@Override
            public boolean onScaleBegin(ScaleGestureDetector detector) {
                return true;
            }
Does a whole lot of gesture detecting.
main/src/main/java/com/quxianggif/common/view/photoview/CustomGestureDetector.java