Search in sources :

Example 1 with StorageFileProvider

use of com.stardust.scriptdroid.storage.file.StorageFileProvider in project Auto.js by hyb1996.

the class FileChooserDialogBuilder method chooseDir.

public FileChooserDialogBuilder chooseDir() {
    mFileChooseListView.setCanChooseDir(true);
    mFileChooseListView.setStorageFileProvider(new StorageFileProvider(mRootDir, 10, File::isDirectory));
    return this;
}
Also used : StorageFileProvider(com.stardust.scriptdroid.storage.file.StorageFileProvider)

Aggregations

StorageFileProvider (com.stardust.scriptdroid.storage.file.StorageFileProvider)1