title: React native - Binding event in row of ListView
body: <p>I cannot find the correct way in order to trigger the event from the class based definition under the row of the list view. Here is what i come so far</p>
  
  <pre><code>class SampleApp extends React.Component {
  
    constructor(props){
      super(props)
      this.state = {
          dataSource: ds.cloneWithRows(this._partners()),
      }
  
      // this._click = this._click.bind(this);
    }
  
   _click() {
      console.log('clicked');
    }
  
    _renderRow(rowData) {
      return (&lt;TouchableHighlight onPress={() =&gt; {this._click();}}&gt;
          &lt;Text style={{ fontSize:18 }}&gt;{rowData}&lt;/Text&gt;
        &lt;/TouchableHighlight&gt;);
    }
  
    render() {
      console.log('Partners: ', this._partners() )
      return (
        &lt;View style={styles.container}&gt;
          &lt;ListView
           dataSource={this.state.dataSource}
           renderRow={ this._renderRow } /&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p><code>this</code> inside <code>onPress</code> is not referred to react component. How can I fix it ? This is the react playground link <a href="https://rnplay.org/apps/Xd-l3w" rel="nofollow">https://rnplay.org/apps/Xd-l3w</a></p>