I don't use PhotoView separately but received following crash report:
Fatal Exception: java.lang.IllegalArgumentException: pointerIndex out of range
at android.view.MotionEvent.nativeGetAxisValue(MotionEvent.java)
at android.view.MotionEvent.getX(MotionEvent.java:2372)
at android.support.v4.view.ViewPager.onInterceptTouchEvent(ViewPager.java:2064)
I found following resolved issues of PhotoView library that are connected with the crash above #31 and #293. The author of PhotoView described the solution of this problem.
Possible Fix
Replace android.support.v4.view.ViewPager in activity_preview.xml with HackyViewPager.
Thank you for the great library!
Context
I don't use PhotoView separately but received following crash report:
I found following resolved issues of PhotoView library that are connected with the crash above #31 and #293. The author of PhotoView described the solution of this problem.
Possible Fix
Replace
android.support.v4.view.ViewPager
inactivity_preview.xml
with HackyViewPager.Thank you!