React Native - Get which touchable highlight is selected
<p>Just trying to get the current index of the touchable highlight that is pressed. For some reason it is only returning the highest number in the array. Any ideas?</p>

<pre><code>render: function() {
    var images = [], i = 0;

    for(i=0; i&lt;this.props.picturesList.length; i++){
        var currentIndex = i;
        images.push(
            &lt;TouchableHighlight
                key={'c' + i}
                onPress={() =&gt; this._handleItemTouch(currentIndex)}&gt;
                    &lt;Image
                        style={styles.image}
                        source={{uri: this.props.picturesList[i]}} /&gt;
            &lt;/TouchableHighlight&gt;
        );
    }
},
_handleItemTouch: function(index) {
  console.log(index);
}
</code></pre>