It's almost OK, just have to bind your event handler to have the this reference to reference your component.
Option a) define your method as arrow function
...
onButtonPress = () => {
//...
}
...
Option b) bind explicitly
onPress={this.onButtonPress.bind(this)}
Option c) bind implicitly
onPress={(event) => this.onButtonPress(event)}
Cheers!
See more React Native and JavaScript stuff at blog.benestudio.co