File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,17 @@ You can read the docs below or [The official detailed tutorial](https://baliofvf
39
39
<br />
40
40
#### Showing the file explorer
41
41
```
42
- Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity.
42
+ Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity);
43
43
startActivityForResult(intent, REQUEST_CODE);
44
44
```
45
+ #### Disabling the select button for directories
46
+ ```
47
+ Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity);
48
+ intent.putExtra(SimpleFileExplorerActivity.ENABLE_DIRECTORY_SELECT_KEY, false);
49
+ startActivityForResult(intent, REQUEST_CODE);
50
+ ```
51
+ ##### Note: By default you can select directories, however you may want to disable this functionality.
52
+
45
53
#### Getting the selected file absolute path
46
54
##### Note: Your activity must override the onActivityResult(); method.
47
55
You can’t perform that action at this time.
0 commit comments