We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a526d5 commit f3e7612Copy full SHA for f3e7612
library/src/main/java/com/opensource/svgaplayer/SVGAImageView.kt
@@ -97,6 +97,7 @@ open class SVGAImageView : ImageView {
97
override fun onDetachedFromWindow() {
98
super.onDetachedFromWindow()
99
animator?.cancel()
100
+ animator?.removeAllUpdateListeners()
101
}
102
103
fun loadAttrs(attrs: AttributeSet) {
@@ -194,6 +195,7 @@ open class SVGAImageView : ImageView {
194
195
196
fun stopAnimation(clear: Boolean) {
197
198
199
(drawable as? SVGADrawable)?.let {
200
it.cleared = clear
201
0 commit comments