private async void OnDidStopAsync(DidStopReason reason) { var message = new StartLongRunningTaskMessage { Barcode = models.Select(x => x.Barcode).ToList(), PageName = PageName }; MessagingCenter.Send(message, "StartLongRunningTaskMessage"); await _navigationService.GoBackAsync(new NavigationParameters { { "models", models } }, animated : false); await _navigationService.GoBackAsync(animated : false); }
void StopScan(DidStopReason reason) { ScanditService.BarcodePicker.DidStop -= StopScan; }