Hello,
with the newest Android lib (3.6.1) there is a crash in onTouchEvent:
java.lang.NullPointerException: Attempt to read from null array
at com.radaee.view.PDFViewDual.vOnFling(PDFViewDual.java:460)
at com.radaee.view.PDFView$PDFGestureListener.onFling(PDFView.java:493)
at android.view.GestureDetector.onTouchEvent(GestureDetector.java:610)
at com.radaee.view.PDFView.motionNormal(PDFView.java:616)
at com.radaee.view.PDFView.vTouchEvent(PDFView.java:727)
at *************.impl.SimplePDFView.onTouchEvent(SimplePDFView.java:211)
Everything i do in my custom class, where i instantiated a PDFView (pdfView), is calling vOnTouch on it:
@Override
public boolean onTouchEvent(MotionEvent event) {
if (pdfView != null)
return pdfView.vTouchEvent(event);
else
return true;
}
it happens everytime i zoomed in and try to scroll in a pdf.
Best regards
Alex