I use your library to animate a button with the spring interpolator. The button has a initial scaleX and scaleY of zero. So it's not visible. Unfortunately the animation is not running or working so the button is not showing up. This is my code:
I also tried calling the animatino with the .start() call and not with the .autoStart(true) but it does not work either.
This is the native animation call which works:
myButton.animate().scaleX(1).scaleY(1).setDuration(buttonAnimationDuration).setStartDelay(buttonSpringDelay).start();
I just copy/paste your code and it's working fine here. Check out your damping, duration, velocity
Can you give more information which device and android version you use.
I use your library to animate a button with the spring interpolator. The button has a initial scaleX and scaleY of zero. So it's not visible. Unfortunately the animation is not running or working so the button is not showing up. This is my code:
I also tried calling the animatino with the
.start()
call and not with the.autoStart(true)
but it does not work either.This is the native animation call which works:
myButton.animate().scaleX(1).scaleY(1).setDuration(buttonAnimationDuration).setStartDelay(buttonSpringDelay).start();
Can you help me here. Thank you