public void setLocked(boolean isLocked) {
        this.mIsLocked = isLocked;
    }
https://github.com/chrisbanes/PhotoView/issues/35
boxing-impl/src/main/java/com/bilibili/boxing_impl/view/HackyViewPager.java