Created
September 24, 2017 07:53
-
-
Save mallibone/9135329987612d9904e25c143f67687a to your computer and use it in GitHub Desktop.
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 : Application | |
{ | |
public App() | |
{ | |
InitializeComponent(); | |
NavigationService.Configure("MainPage", typeof(Views.MainPage)); | |
NavigationService.Configure("ModalNavigationPage", typeof(Views.ModalNavigationPage)); | |
NavigationService.Configure("PushNavigationPage", typeof(Views.PushNavigationPage)); | |
var mainPage = ((ViewNavigationService) NavigationService).SetRootPage("MainPage"); | |
MainPage = mainPage; | |
} | |
public static INavigationService NavigationService { get; } = new ViewNavigationService(); | |
// .... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment