Skip to content

Instantly share code, notes, and snippets.

@nuitsjp
Created August 11, 2016 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuitsjp/200dcba38dec35cc6aa12445b44a1b29 to your computer and use it in GitHub Desktop.
Save nuitsjp/200dcba38dec35cc6aa12445b44a1b29 to your computer and use it in GitHub Desktop.
Hello, Prism. App.xaml.cs
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