public ScanJobViewModel(INavigationService navigationService, IBarcodeScannerService barcodeScannerService)
        {
            _navigationService     = navigationService;
            _barcodeScannerService = barcodeScannerService;

            ScanQRCommand  = new Command(async() => await ScanQRCode());
            ConfirmCommand = new Command(Continue);
        }
        public SelectUserPopupPageViewModel(INavigationService navigationService, IBarcodeScannerService barcodeScannerService, IPageDialogService pageDialogService, IDeviceService deviceService, Plugin.FirebasePushNotification.Abstractions.IFirebasePushNotification firebasePushNotification, Acr.UserDialogs.IUserDialogs userDialogs, Services.SyncServerConnection syncServerConnection, Services.TronConnection tronConnection, Tron.WalletManager walletManager, Services.TokenMessagesQueueService tokenMessagesQueueService, Database.ConverseDatabase converseDatabase) : base(navigationService, pageDialogService, deviceService, firebasePushNotification, userDialogs, syncServerConnection, tronConnection, walletManager, tokenMessagesQueueService, converseDatabase)
        {
            _barcodeScanner = barcodeScannerService;
            Users           = new ObservableCollection <UserInfo>();

            ScanCommand   = new DelegateCommand(ScanCommandExecuted);
            SelectCommand = new DelegateCommand(SelectCommandExecuted);
        }
        public AddChatOptionPopupPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IDeviceService deviceService, IFirebasePushNotification firebasePushNotification,
                                               IBarcodeScannerService barcodeScanner, IUserDialogs userDialogs, SyncServerConnection syncServerConnection, TronConnection tronConnection, WalletManager walletManager, TokenMessagesQueueService tokenMessagesQueueService, ConverseDatabase converseDatabase)
            : base(navigationService, pageDialogService, deviceService, firebasePushNotification, userDialogs, syncServerConnection, tronConnection, walletManager, tokenMessagesQueueService, converseDatabase)
        {
            _barcodeScanner = barcodeScanner;

            ScanCommand     = new DelegateCommand(OnScanCommandExecuted);
            OpenChatCommand = new DelegateCommand(OpenChatCommandExecuted);
        }
        public MainPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IFirebasePushNotification firebasePushNotification,
                                 IDeviceService deviceService, IBarcodeScannerService barcodeScannerService, IUserDialogs userDialogs, SyncServerConnection syncServer, TronConnection tronConnection, WalletManager walletManager, TokenMessagesQueueService tokenMessagesQueueService, ConverseDatabase converseDatabase)
            : base(navigationService, pageDialogService, deviceService, firebasePushNotification, userDialogs, syncServer, tronConnection, walletManager, tokenMessagesQueueService, converseDatabase)
        {
            Title = AppResources.MainPageTitle;
            this.barcodeScannerService = barcodeScannerService;

            OpenWelcomePageCommand = new Command(async() => await _navigationService.NavigateAsync("MainPage"));
        }
        public CommodityViewModel(
            ICommodityService commodityService,
            IUnitService unitService,
            IBarcodeScannerService barcodeScannerService,
            INavigationService navigationService,
            IInternetService internetService,
            IDialogService dialogService)
        {
            _dialogService         = dialogService;
            _internetService       = internetService;
            _navigationService     = navigationService;
            _commodityService      = commodityService;
            _unitService           = unitService;
            _barcodeScannerService = barcodeScannerService;

            AddValidations();
        }