1.设值this.state.percentAnimOne.setValue(-219);
2.new Animated.Value(0) // 两次初始化,对象重定义,动画将无法执行
3.在Animated.View中使用值的地方不要进行 相应运算,否则会有异常
4.复杂动画可以使用组合动画
5.可以使用this.state.percentAnimOne.addListener((state)=> {state.value});进行值变化获取
1.设值this.state.percentAnimOne.setValue(-219);
2.new Animated.Value(0) // 两次初始化,对象重定义,动画将无法执行
3.在Animated.View中使用值的地方不要进行 相应运算,否则会有异常
4.复杂动画可以使用组合动画
5.可以使用this.state.percentAnimOne.addListener((state)=> {state.value});进行值变化获取