It is possible to get the current animated value using ._value while nativeDriver is false.

But is it possible to get current value when nativeDriver is turned to true ?

Do we have any work arounds ?

1 Answers

1
Kape On

use addListener like so:

this._animatedValue = new Animated.Value(0);

this._animatedValue.addListener(({value}) => this._value = value);

Animated.timing(this._animatedValue, {
   toValue: 100,
   duration: 500
}).start();