android-pdfview
android-pdfview copied to clipboard
Fragment PDF view crashes on rotation
I tried using the pdfview as a fragment and it worked. However, it crashes when i change to landscape mode.. Is there any solution for this problem?
This is my error log
Almost the same here. When i change to landscape, the view turns white. Log: PdfDocument.nativeOpen(): return handle = 0x49aecfe8 PdfDocument.nativeOpen(): return handle = 0x46331058 PdfPage.nativeOpenPage(): return handle = 0x56425390 PdfPage.nativeOpenPage(): return handle = 0x56425410
@Blacksheep92 we just had the similar issue and solved it calling .recycle() on pdfView instance in onDetach() fragment's method.