Last active
March 26, 2018 14:48
-
-
Save akaita/0a4b822fea5d983530c9826ae53a499b to your computer and use it in GitHub Desktop.
Using an AnimatedVectorDrawable (kotlin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun onClickIcon() { | |
(someImageView.drawable as AnimatedVectorDrawable).start() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment