Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How to deal with "Back"?

$
0
0

I found this http://forums.xamarin.com/discussion/18565/override-cancel-pop-when-hardware-back-button-pressed-using-navigatepage

but it doesn't provide any clear answer as to how we are supposed to deal with the situation where a user presses back (either hardware, or via the navigation bar back button) and there is unsaved data in the current view.

Is there any standard guidance around this common scenario?

On iOS I can just set the page to modal, but what about hardware back button on Android?

Is it possible to intercept the navigation bar back button press?

Thanks for help on this.


Viewing all articles
Browse latest Browse all 58056

Trending Articles