AndroidViewAnimations
AndroidViewAnimations copied to clipboard
Animation not working in Kotlin
Hi! This is my code. I want to play an animation on the fab every time it is pressed but for some reason, it is not doing anything.
_binding!!.floatingActionButton.setOnClickListener{
YoYo.with(Techniques.Shake)
.duration(700)
.repeat(5)
.playOn(_binding!!.floatingActionButton)
}