React-native introduce new Animated
API, I want to make a loop animation such as a bubble scale up then scale down and repeat that progress.
However I can n
It seems that 'looping' is not supported by the Animated
api for now.
I managed to do that by start the animation again when it finished.
startAnimation() {
Animated.timing(this._animatedValue, {
toValue: 100,
duration: 1000,
}).start(() => {
this.startAnimation();
});
}
Looking forward to a better solution...