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()
}
}
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() } }