@Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        if (!mIsLocked) {
            try {
                return super.onInterceptTouchEvent(ev);
            } catch (IllegalArgumentException e) {
                return false;
            }
        }
        return false;
    }
https://github.com/chrisbanes/PhotoView/issues/35
boxing-impl/src/main/java/com/bilibili/boxing_impl/view/HackyViewPager.java