Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to load local and URL pdf's #1166

Open
Markmentes opened this issue Oct 9, 2023 · 0 comments
Open

trying to load local and URL pdf's #1166

Markmentes opened this issue Oct 9, 2023 · 0 comments

Comments

@Markmentes
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant