react native add animated.value to number code example
Example: detecting change in animated value react native
this.state.translateAnim.addListener(({value}) => this._value = value);
this.state.translateAnim.addListener(({value}) => this._value = value);