-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I am not sure why this is happening, and it seems to appear pretty random.
I use a custom onTouchListener on the SubsamplingScaleImageView to detect swipe gestures and a ViewAnimator to create swipe animations between images.
FATAL EXCEPTION: main
PID: 31476
java.lang.NullPointerException: Attempt to invoke interface method 'void android.view.ViewParent.requestDisallowInterceptTouchEvent(boolean)' on a null object reference
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.onTouchEvent(SubsamplingScaleImageView.java:591)
at android.view.View.dispatchTouchEvent(View.java:9377)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554) ......