We'll use the interpolate function from an Animated.Value
to transition the background color of an Animated.View
. We'll simultaneously translate the position with the same Animated.Value
.
I am getting animated value is not a constructor when running the same code. Are you familiar with this error?
Like many videos here on egghead, while useful this video lacks explanation. Instead use function X and pass parameters X and Y, one would expect some detail about the function's purpose, a bit more context overall.
@Luis what do you need more context on? I'd be happy to to help!