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);
        }
Exemplo n.º 2
0
 void StopScan(DidStopReason reason)
 {
     ScanditService.BarcodePicker.DidStop -= StopScan;
 }