Update README.md

This commit is contained in:
oupson 2018-10-25 15:20:04 +02:00 committed by GitHub
parent 412f9ab660
commit 9bd8d79c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ To load animated png to an imageview :
val imageUrl = "https://upload.wikimedia.org/wikipedia/commons/1/14/Animated_PNG_example_bouncing_beach_ball.png" // image url could be an url, or a file path. You could also load byteArray and file
val animator = ApngAnimator(imageView)
val animator = ApngAnimator(this).loadInto(imageView)
animator.load(imageUrl)
animator.play()
@ -42,7 +42,7 @@ repositories {
}
dependencies {
implementation 'com.github.oupson:Kapng-Android:1.0.0'
implementation 'com.github.oupson:Kapng-Android:1.0.1'
}
```