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
2828
2929```
3030 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 '
3232 }
3333```
3434
@@ -39,9 +39,17 @@ You can read the docs below or [The official detailed tutorial](https://baliofvf
3939<br />
4040#### Showing the file explorer
4141```
42- Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity.
42+ Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity);
4343startActivityForResult(intent, REQUEST_CODE);
4444```
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+
4553#### Getting the selected file absolute path
4654##### Note: Your activity must override the onActivityResult(); method.
4755
You can’t perform that action at this time.
0 commit comments