Exemplo n.º 1
0
        private void OpenUpdatePop(int seqNo)
        {
            try
            {
                if (!IsClicked)
                {
                    _commonFun.AlertLongText("已结束的任务不能再设置");
                    return;
                }

                Device.BeginInvokeOnMainThread(async() =>
                {
                    await PopupNavigation.PushAsync(new UpdatePopPage(SystemList.FirstOrDefault(p => p.SeqNo == seqNo)), true);
                });
            }
            catch (Exception)
            {
                _commonFun.AlertLongText("操作异常,请重试。-->SystemListViewModel");
                return;
            }
        }