Skip to content

This plugin is not working  #121

@vikasacharya16

Description

@vikasacharya16

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())

708f4c7e-2875-43d4-8eba-fdf42bd7748a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions