DImuthuUpe / AndroidPdfViewer

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

trying to load local and URL pdf's #1166

Open Markmentes opened 8 months ago

Markmentes commented 8 months ago

Id like to ask why I get an Error of "No java.io.filenotfoundexception: no content provider

when I use it like this when (it.link.isPathLocal()) { true -> { binding.pdfView.fromAsset(it.link).load() } false -> { binding.pdfView.fromUri(it.link.toUri()) .enableSwipe(true) .swipeHorizontal(true) .enableDoubletap(true) .enableAnnotationRendering(false) .password(null) .load() } }