Esempio n. 1
0
        private async void NextButton_Clicked(object sender, EventArgs e)
        {
            if (this.fileName.Contains("{Correlation Id}"))
            {
                return;
            }

            if (type == ClaimImageTypeModel.LicensePlate ||
                type == ClaimImageTypeModel.InsuranceCard)
            {
                var nextPage = new PartyInfoViewiOS(claimViewModel, type + 1);

                await Navigation.PushAsync(nextPage, true);

                NavigationPage.SetHasBackButton(nextPage, false);
            }
            else if (type == ClaimImageTypeModel.DriversLicense)
            {
                var nextPage = new PartyContactViewiOS(claimViewModel);

                await Navigation.PushAsync(nextPage, true);

                NavigationPage.SetHasBackButton(nextPage, false);
            }
        }
Esempio n. 2
0
        private async void NextButton_Clicked(object sender, EventArgs e)
        {
            if (viewModel.selectVehicleId == null)
            {
                return;
            }
            using (var scope = new ActivityIndicatorScope(activityIndicator, activityIndicatorPanel, true))
            {
                await viewModel.CheckCreateClaimAsync(this);

                var partyView = new PartyInfoViewiOS(viewModel.claimViewModel, ClaimImageTypeModel.LicensePlate);
                await Navigation.PushAsync(partyView, true);

                NavigationPage.SetHasBackButton(partyView, false);
            }
        }