I'm trying to do the following
componentDidUpdate() {
Animated.timing(this.scaleValueAddAlertButton, {
toValue: 1,
duration: 225,
easing: Easing.bezier(0.0, 0.0, 0.2, 1),
useNativeDriver: Platform.OS === "android"
});
}
It's not working.
During debugging, I have noticed that the button is not there during componentDidUpdate and was not yet painted to the screen.
When I tried this animation after everything was renderd and painted, it does work.
Is there a callback I can set here that will tell me everything was painted and it's safe to use this animation?