Created
August 11, 2016 09:36
-
-
Save nuitsjp/200dcba38dec35cc6aa12445b44a1b29 to your computer and use it in GitHub Desktop.
Hello, Prism. 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
public partial class App : PrismApplication | |
{ | |
public App(IPlatformInitializer initializer = null) : base(initializer) { } | |
protected override void OnInitialized() | |
{ | |
InitializeComponent(); | |
NavigationService.NavigateAsync("MainPage?title=Hello%20from%20Xamarin.Forms"); | |
} | |
protected override void RegisterTypes() | |
{ | |
Container.RegisterTypeForNavigation<MainPage>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment