commit | 354b7561e9a88a602aea50f55a9949c8a0001037 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gabriel@gpeal.com> | Sun Sep 23 23:39:40 2018 -0700 |
committer | Gabriel Peal <gabriel@gpeal.com> | Sun Sep 23 23:39:46 2018 -0700 |
tree | 4e60af7aa9ce7ae7700fc6d637871fde472290e9 | |
parent | 7d95fdf61a0aae87abb7319eeeb504fb0c5b03a0 [diff] |
[Sample App] Fixed play button icon not updating
diff --git a/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/PlayerFragment.kt b/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/PlayerFragment.kt index 311ba1c..d699236 100644 --- a/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/PlayerFragment.kt +++ b/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/PlayerFragment.kt
@@ -250,6 +250,7 @@ animationView.addAnimatorListener(animatorListener) playButton.setOnClickListener { if (animationView.isAnimating) animationView.pauseAnimation() else animationView.resumeAnimation() + playButton.isActivated = animationView.isAnimating postInvalidate() }