title: React Native how to pass two events in the same animated event?
body: <p>I have two actions passed through setParams</p>
  
  <pre><code>componentWillMount() {
                    this.props.navigation.setParams({
                      animatedValue: this._animatedValue.interpolate({
                      inputRange: [0, 800],
                      outputRange: [0, -70],
                      extrapolate: 'clamp'
                    }),
                    colorRange: this.x.interpolate({
                      inputRange: [0, 5,10,15,20,25,30,35,40,49,56],
                      outputRange: ['rgba(0, 0, 0,0)', 'rgba(255, 0, 0,0.1)', 'rgba(255, 0, 0,0.2)', 'rgba(255, 0, 0,0.3)', 'rgba(255, 0, 0,0.4)', 'rgba(255, 0, 0,0.5)', 'rgba(255, 0, 0,0.6)', 'rgba(255, 0, 0,0.7)', 'rgba(255, 0, 0,0.8)', 'rgba(255, 0, 0,0.9)' ,'rgba(255, 0, 0,1)'],
                      extrapolate: 'clamp'
                    })
                  });
                  }
  </code></pre>
  
  <p>and in my only use one animated event. How can I use both events when I scroll in vertically</p>
  
  <pre><code>&lt;ScrollView onScroll={ Animated.event([{nativeEvent: {contentOffset: {y: this._animatedValue }}}] )} scrollEventThrottle={16} &gt;
  </code></pre>