Java Code Examples for com.nononsenseapps.filepicker.FilePickerFragment

The following examples show how to use com.nononsenseapps.filepicker.FilePickerFragment. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: rpicheck   Source File: RaspiFilePickerActivity.java    License: MIT License 5 votes vote down vote up
@Override
protected AbstractFilePickerFragment<File> getFragment(@Nullable String startPath, int mode, boolean allowMultiple, boolean allowCreateDir, boolean allowExistingFile, boolean singleClick) {
    final FilePickerFragment filePickerFragment = new FilePickerFragment();
    filePickerFragment.setArgs(startPath, mode, allowMultiple, allowCreateDir, allowExistingFile, singleClick);
    filePickerFragment.showHiddenItems(true);
    return filePickerFragment;
}