public void BasicCustomNav() { //Get the first page to be displayed var page = FreshPageModelResolver.ResolvePageModel<MainMenuPageModel> (); //create our navigation service var customNavigationService = new SimpleCustomNavigationService (page); //register the Navigation service in the app, this enables us to push model to model FreshIOC.Container.Register<IFreshNavigationService> (customNavigationService); //display navigation service in main page MainPage = customNavigationService; }
public void BasicCustomNav() { //Get the first page to be displayed var page = FreshPageModelResolver.ResolvePageModel <MainMenuPageModel> (); //create our navigation service var customNavigationService = new SimpleCustomNavigationService(page); //register the Navigation service in the app, this enables us to push model to model FreshIOC.Container.Register <IFreshNavigationService> (customNavigationService); //display navigation service in main page MainPage = customNavigationService; }