Пример #1
0
        private void SetCurrentPresenter(IPresenter presenter, IView view)
        {
            OnCurrentViewChanged(view);

            if (mCurrentPresenter != null)
            {
                mCurrentPresenter.CloseView();
            }

            mCurrentPresenter = presenter;

            AdjustPresenterEventHandlers(mCurrentPresenter);
        }