-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
DocumentFile #3
Comments
Thanks, I will take a look at it |
I have played with it a little bit. When you pick file using SAF it returns |
That's a great idea! |
|
Open
Closed
Open
This was referenced Jul 12, 2018
Pingou
pushed a commit
to Pingou/AndroidPdfViewer
that referenced
this issue
May 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to make AndroidPdfViewer read a DocumentFile?
Right now, there are
fromFile()
andfromAsset()
but I was thinking it would be great if we have something likefromDocumentFile()
.What I want to do is that I let a user pick up a PDF file using Android's
Storage Access Framework
and display it on the screen using AndroidPdfViewer.Right now, I can do this by copying DocumentFile to a temp File instance and pass it to fromFile(). However, I was thinking if I could avoid making a temporary file.
The text was updated successfully, but these errors were encountered: