Fix subfolder contents listing and openDocumentFile
API
#63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request closes #62, #64 and indirectly starts #56.
This PR fixes the current behavior of
listFiles
andopenDocumentFile
API.openDocumentTree
).ACTION_VIEW
intent builder throughopenDocumentFile
API was fixed. So now it's possible to open any file of any kind in third party apps without needing specify the mime type.DocumentFile.listFiles
(Now it's only available globally).buildDocumentUriUsingTree
removed due high coupling with Android API (Android specific API that are not useful on any other platforms).buildDocumentUri
removed due high coupling with Android API (Android specific API that are not useful on any other platforms).buildTreeDocumentUri
removed due high coupling with Android API (Android specific API that are not useful on any other platforms).getDocumentThumbnail
now receives only theuri
param instead of arootUri
and adocumentId
.Huge thanks to @EternityForest who exposed a lot of relevant resources and contributed on #58 and #59.