-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Description
I just copied the below snippet and commented path and root path. And it's always showing empty directory as in the image below.
MaterialFilePicker()
.withActivity(this)
.withCloseMenu(true)
//.withPath(alarmsFolder.absolutePath)
//.withRootPath(externalStorage.absolutePath)
.withHiddenFiles(true)
.withFilter(Pattern.compile(".*\\.(jpg|jpeg)$"))
.withFilterDirectories(false)
.withTitle("Sample title")
.withRequestCode(FILE_PICKER_REQUEST_CODE)
.start()
I also tried below but not working
.withPath(Environment.getExternalStorageDirectory().getPath())
.withRootPath(Environment.getExternalStorageDirectory().getPath())
DavisDevasia
Metadata
Metadata
Assignees
Labels
No labels
