private void Show(IMvxTouchView view) { if (view is HomeView) { _splitView.SetPrimaryView(view); } else { _splitView.SetSecondaryView(view); } }
public override void Show(IMvxTouchView view) { if (view is SignInView || view is SignUpView) { if (_navigationController != null) { _window.RootViewController = _navigationController; } if (view is SignInView) { _navigationController.SetViewControllers(new UIViewController[] { view as UIViewController }, true); } else { _navigationController.PushViewController(view as UIViewController, true); } //TODO : maybe using MasterNavigationController to Push SignUpView into NavigationStack //or use base.Show(view) ??? return; } else { if (_splitView != null) { _window.RootViewController = _splitView; } if (view is BaseMenuView) { _splitView.SetPrimaryView(view); } else { _splitView.SetSecondaryView(view); } } }