DImuthuUpe / AndroidPdfViewer

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

trying to load local and URL pdf's #1166

Open Markmentes opened 1 year ago

Markmentes commented 1 year 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() } }