Created
August 21, 2016 07:06
-
-
Save nuitsjp/55749ec0cc399af20104258951110525 to your computer and use it in GitHub Desktop.
NavigationService Overview App.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnInitialized() | |
{ | |
InitializeComponent(); | |
//NavigationService.NavigateAsync("MainPage?title=Hello%20from%20Xamarin.Forms"); | |
NavigationService.NavigateAsync("NavigationPage/MainPage?title=Hello%20from%20Xamarin.Forms"); | |
} | |
protected override void RegisterTypes() | |
{ | |
Container.RegisterTypeForNavigation<NavigationPage>(); | |
Container.RegisterTypeForNavigation<MainPage>(); | |
Container.RegisterTypeForNavigation<SecondPage>(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment