Custom Handling the Android Back Button with React Navigation

added by JavaScript Kicks
8/6/2018 5:20:29 AM

405 Views

In this lesson we'll explore setting up a stack navigator in React Navigation. We'll create a custom component that uses `withNavigation` to allow us to listen to navigation transitions. Using the `BackHandler` from React Native we can ask the screen if custom needs are required when the hardware back button is pressed.


0 comments