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

Navigation with MasterDetail

$
0
0

I am using xamarin forms 2.0, and have setup a masterdetail app. After the first detail page is loaded i use this.Navigation.PushAsync(new HomePage()); in a click event of a button to allow the user to navigate to the next page (the application is a bit like a wizard where the user navigates to the next page until they finally hit submit and at this point i want to reset the stack and navigate the person to the first (detail) page.

If i use this.Navigation.PushAsync(new HomePage()); the user can still hit back or < back button to allow them to go back to the last page in the wizard. How can i reset the stack and push the user to the first detail page again?

thx


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>