When user taps on the back button, can we get the event and do something?

I have tried with `onDisappear` for the view, but the order of child disappearing and parent appearing is not desired. So I am looking for a way to hook to the back event.