react native scrollable tab view onchange
<p>Can anyone help me how to use onChange props in react native scrollable tab view?
Any sample code?
Basically I want to fetch data, when tab is changed.</p>

<pre><code>&lt;View style={styles.container}&gt;
       &lt;ScrollView&gt;
        &lt;ScrollableTabView&gt;
        &lt;OverViewPage tabLabel = "Overview" contentProps = { this.state = {data :  this.state.data , addressDetails :  this.state.addressDetails }} /&gt;
         &lt;OverViewPage1 tabLabel = "OverView1"/&gt;
         &lt;OverViewPage2 tabLabel = "OverView2" /&gt;
        &lt;/ScrollableTabView&gt;
        &lt;/ScrollView&gt;
        &lt;/View&gt;
</code></pre>

<p>When I go to OverView1 scene I want to fetch data from api and rendered the information returned. Basically I want to catch an event, when tab is changed. 
I found there is an onChange props but couldnt figure it out how to use.
Appreciate the help!!
Thank you!!</p>