Skip to content Skip to sidebar Skip to footer

Unexpected Behavior When Documentfile.fromtreeuri() Is Called On Uri Of Subdirectory Documentfile Object

If I call DocumentFile.fromTreeUri() on main directory and I list its content, it returns all DocumentFile object related to folders and files contained in the directory as expect

Solution 1:

I have the same problem. I solved it after upgrading the documentfile version.

implementation 'androidx.documentfile:documentfile:1.0.1'

Post a Comment for "Unexpected Behavior When Documentfile.fromtreeuri() Is Called On Uri Of Subdirectory Documentfile Object"