Custom Handling the Android Back Button with React Navigation

added by JavaScript Kicks
8/7/2018 4:20:25 AM

472 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