I want to check whether a file exists. Since the check could be on external SD card, I can't use File.Exists(). Instead I need to use DocumentFile.exists().
https://developer.android.com/reference/android/support/v4/provider/DocumentFile.html#exists()
When I tried DocumentFile.exists(), I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.