Set the toolbar after LoadApplication(new App()) in OnCreate of MainActivity. Use the specific route name to go back.Īfter compilation the Navigation Bar that we call in Xamarin Forms, turns into the Action Bar for Android during runtime. When you press the back button, override the back button event and then judge the route to do the navigation would be better. For example, a details page won't be defined in the Shell visual hierarchy, but can be pushed onto the navigation stack as required.įor more details, please check the MS docs. Pages that don't exist in the Shell visual hierarchy can be pushed onto the navigation stack from anywhere within a Shell application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |