DImuthuUpe / AndroidPdfViewer

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

java.lang.IllegalStateException: Don't call load on a PDF View without recycling it first. #1159

Open 1MaRo2 opened 1 year ago

1MaRo2 commented 1 year ago

i made a app like e book store and i get this error when i use the search part

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:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7839) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) V/FA: Connecting to remote service V/FA: Recording user engagement, ms: 7243 I/Process: Sending signal. PID: 3852 SIG: 9