AndroidViewAnimations icon indicating copy to clipboard operation
AndroidViewAnimations copied to clipboard

Animation not working in Kotlin

Open dominik686 opened this issue 3 years ago • 0 comments

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)
        }

dominik686 avatar Feb 25 '22 07:02 dominik686