示例#1
0
    public void Back(object parm = null, Action closeFinish = null)
    {
        int count = mShowDialogList.Count;

        if (count > 0)
        {
            BaseView view = mShowDialogList[count - 1];
            if (view != null && view.IsEnable)
            {
                view.Back(parm, closeFinish);
                return;
            }
            return;
        }
        count = mShowViewList.Count;
        if (count > 0)
        {
            BaseView view = mShowViewList[count - 1];
            if (view != null && view.IsEnable)
            {
                view.Back(parm, closeFinish);
            }
        }
    }