public async Task PopModalNavigationService() { var currentNavigationService = FreshIOC.Container.Resolve <IFreshNavigationService> (_currentPageModel.CurrentNavigationServiceName); currentNavigationService.NotifyChildrenPageWasPopped(); var navServiceName = _currentPageModel.PreviousNavigationServiceName; IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService> (navServiceName); await rootNavigation.PopPage(true); }
public async Task PopPageModel(bool modal = false) { string navServiceName = _currentPageModel.CurrentNavigationServiceName; if (_currentPageModel.IsModalFirstChild) { navServiceName = _currentPageModel.PreviousNavigationServiceName; } IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService> (navServiceName); await rootNavigation.PopPage(modal); }
public async Task PopPageModel(bool modal = false) { string navServiceName = _currentPageModel.CurrentNavigationServiceName; if (_currentPageModel.IsModalFirstChild) { await PopModalNavigationService(); } else { if (modal) { this._currentPageModel.RaisePageWasPopped(); } IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService> (navServiceName); await rootNavigation.PopPage(modal); } }
public async Task PopPageModel(bool modal = false) { IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService> (); await rootNavigation.PopPage(modal); }
public async Task PopModalNavigationService() { var navServiceName = _currentPageModel.PreviousNavigationServiceName; IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService> (navServiceName); await rootNavigation.PopPage(true); }
public async Task PopPage() { IFreshNavigationService rootNavigation = FreshIOC.Container.Resolve <IFreshNavigationService>(Constants.DefaultNavigationServiceName); await rootNavigation.PopPage(); }