File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,8 @@ Simple, Responsive & Easy To Use Library For Android
3434# USAGE
3535
3636##### Note: Before showing the file explorer you must ask for "WRITE_EXTERNAL_STORAGE" permission.
37-
37+ ![ Permission Image ] ( https://i.imgur.com/zxt34Vy.png )
3838<br />
39-
4039#### Showing the file explorer
4140```
4241Intent intent = new Intent(CONTEXT, SimpleFileExplorerActivity.
@@ -45,9 +44,7 @@ startActivityForResult(intent, REQUEST_CODE);
4544<br />
4645
4746#### Getting the selected file absolute path
48- ![ Permission Image] ( https://i.imgur.com/zxt34Vy.png )
4947##### Note: Your activity must override the onActivityResult(); method.
50-
5148```
5249 @Override
5350 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
@@ -57,24 +54,17 @@ startActivityForResult(intent, REQUEST_CODE);
5754 }
5855 }
5956```
60-
6157<br />
62-
6358<img src =" https://i.imgur.com/2dU8LR0.png " alt =" drawing " width =" 360 " />
6459<img src =" https://i.imgur.com/WlVDRIG.png " alt =" drawing " width =" 360 " />
65-
6660#### Changing the default icons with your custom drawables
67-
6861<br />
69-
7062```
7163SimpleFileResources.imageFileId = R.drawable.ic_my_custom_file;
7264SimpleFileResources.imageDirectoryId = R.drawable.ic_my_custom_directory;
7365```
7466##### If you want to use the default icons:
75-
7667<br />
77-
7868```
7969SimpleFileResources.imageFileId = null;
8070SimpleFileResources.imageDirectoryId = null;
You can’t perform that action at this time.
0 commit comments