Exemplo n.º 1
0
        public void Pop()
        {
            if (_contextStack.Count != 0)
            {
                IBaseView curView = _contextStack.Peek();
                _contextStack.Pop();
                _UIDict.TryRemove(curView.ViewType.panelId);
                curView.OnExit();
            }

            if (_contextStack.Count != 0)
            {
                IBaseView curView = _contextStack.Peek();
                curView.OnResume();
            }
        }