Example #1
0
        public override void Show(Cirrious.MvvmCross.Touch.Views.IMvxTouchView view)
        {
            if (view is FirstView)
            {
                _firstView = view as FirstView;
            }

            if (view is GrandChildView)
            {
                if (_firstView != null)
                {
                    _firstView.ShowGrandChild(view);
                }
                return;
            }

            base.Show(view);
        }
Example #2
0
        public override void Show(Cirrious.MvvmCross.Touch.Views.IMvxTouchView view)
        {
            if (view is HomeView)
            {
                _homeView = view as HomeView;
            }

//			if (view is GrandChildView)
//			{
//				if (_firstView != null)
//				{
//					_firstView.ShowGrandChild(view);
//				}
//				return;
//			}

            base.Show(view);
        }
Example #3
0
        public override void Show(Cirrious.MvvmCross.Touch.Views.IMvxTouchView view)
        {
            if (MasterNavigationController == null)
            {
                base.Show(view);
                return;
            }

            if (MasterNavigationController.ViewControllers.Length <= 1)
            {
                base.Show(view);
                return;
            }

            MasterNavigationController.PopViewController(false);
            MasterNavigationController.PushViewController(
                view as UIViewController,
                true);
        }