File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ You can read the docs below or [The official detailed tutorial](https://baliofvf
28
28
29
29
```
30
30
dependencies {
31
- implementation 'com.github.BalioFVFX:Android-Simple-File-Explorer-Library:2.0.2 '
31
+ implementation 'com.github.BalioFVFX:Android-Simple-File-Explorer-Library:2.0.3 '
32
32
}
33
33
```
34
34
@@ -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