_onTabPress(index){ console.log('index = '+ index); }
<TouchableOpacity onPress={this._onTabPress.bind(this,1)}/>
<TouchableOpacity onPress={()=>this._onTabPress(1)}/>