/// <summary>
        /// Navigate Back
        /// </summary>
        public void Back()
        {
            var lastScreen = GetLastScreen();

            lastScreen.ShowWithoutTransition();
            currentScreen.Hide();
            SetCurrentScreen(lastScreen);
        }
        public void Back()
        {
            lastScreen.ShowWithoutTransition();
            currentScreen.Hide();
            ScreenConfig temp = currentScreen;

            currentScreen = lastScreen;
            lastScreen    = temp;
        }
示例#3
0
        public void Back()
        {
            int index = Array.IndexOf(screens, lastScreen);

            Set(index);

            // TODO - this doesn't work
            return;

            lastScreen.ShowWithoutTransition();
            currentScreen.Hide();
            ScreenConfig temp = currentScreen;

            currentScreen = lastScreen;
            lastScreen    = temp;
        }