https://github.com/junixapp/frameanimationview
一个帧动画实现,用来替换官方的AnimationDrawable,解决内存溢出!
https://github.com/junixapp/frameanimationview
Last synced: 12 months ago
JSON representation
一个帧动画实现,用来替换官方的AnimationDrawable,解决内存溢出!
- Host: GitHub
- URL: https://github.com/junixapp/frameanimationview
- Owner: junixapp
- Created: 2018-10-08T06:56:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T04:50:23.000Z (over 7 years ago)
- Last Synced: 2025-03-13T06:27:14.777Z (over 1 year ago)
- Language: Kotlin
- Size: 202 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FrameAnimationView
一个帧动画实现,用来替换官方的AnimationDrawable,解决内存溢出!
# Gradle
[  ](https://bintray.com/li-xiaojun/jrepo/frameanimation/_latestVersion)
```
compile 'com.lxj:frameanimation:latest release'
```
# Usage
```kotlin
// settings
iv.apply {
setInterval(10)
setIsLoop(false)
setFramesArray(frames)
}
iv.start()
iv.stop()
```