Skip to content

Commit 46642f5

Browse files
committed
Clarify permissions usage
1 parent baf934b commit 46642f5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,20 @@ If you are using maven to manage your project, add the following to your `pom.xm
3636

3737
### Step 2
3838

39-
Add permissions (if necessary) to your `AndroidManifest.xml`:
39+
Add permissions (if necessary) to your `AndroidManifest.xml`
4040

4141
```xml
4242
<!-- if you want to load images from the internet -->
4343
<uses-permission android:name="android.permission.INTERNET" />
4444

45-
<!-- if you want to load images from external storage -->
45+
<!-- if you want to load images from a file OR from the internet -->
4646
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
4747
```
4848

49+
**Note:** If you want to load images from the internet, you need both the `INTERNET` and `READ_EXTERNAL_STORAGE` permissions to allow files from the internet to be cached into local storage.
50+
51+
If you want to load images from drawable, then no additional permissions are necessary.
52+
4953
### Step 3
5054

5155
Add the Slider to your layout:

0 commit comments

Comments
 (0)