Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation not working in Kotlin #169

Open
dominik686 opened this issue Feb 25, 2022 · 0 comments
Open

Animation not working in Kotlin #169

dominik686 opened this issue Feb 25, 2022 · 0 comments

Comments

@dominik686
Copy link

dominik686 commented Feb 25, 2022

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)
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant