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"