Example #1
0
 public async void TappedCommand(CasesListDto dto)
 {
     try
     {
         await Navigation.PushAsync <CaseRegViewModel>((vm, v) => vm.Init(SelectedCaseItem.Id), true);
     }
     catch (Exception)
     {
     }
 }
        public async void TappedCommand(CasesListDto dto)
        {
            try
            {
                // await Navigation.PushAsync<CaseRegViewModel>((vm, v) => vm.Init(SelectedCaseItem.Id), true);
                await Navigation.PopAsync();

                List <RequestParameter> parameterLst = new List <RequestParameter>();
                parameterLst.Add(new RequestParameter {
                    Name = "caseId", Value = SelectedCaseItem.Id.ToString()
                });
                MessagingCenter.Send <List <RequestParameter> >(parameterLst, "GetCaseInfoDetail");
            }
            catch (Exception)
            {
            }
        }