DImuthuUpe / AndroidPdfViewer

Android view for displaying PDFs rendered with PdfiumAndroid
Apache License 2.0
8.17k stars 1.91k forks source link

ERROR #1143

Open DevTrinh opened 1 year ago

DevTrinh commented 1 year ago

When I initialize the Pdfview in Recyclerview, low size pdfs have no problem, however for large, multi-page pdfs, I get this error" FATAL EXCEPTION: main Process: com.fftools.simpleprinter, PID: 13476 java.lang.IllegalStateException: Don't call load on a PDF View without recycling it first. at com.github.barteksc.pdfviewer.PDFView.load(PDFView.java:353) at com.github.barteksc.pdfviewer.PDFView.access$1900(PDFView.java:83) at com.github.barteksc.pdfviewer.PDFView$Configurator$1.run(PDFView.java:1583) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6730) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:860)"