Add AndroidX dependency

This commit is contained in:
davemorrissey 2020-05-20 18:06:09 +01:00 committed by GitHub
parent 619d281ed7
commit ebce8e07ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,14 @@ dependencies {
}
```
If your project uses AndroidX, change the artifact name as follows:
```gradle
dependencies {
implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
}
```
**2)** Add the view to your layout XML.
```xml