public GroupChatPageViewModel(INavigationService navigationService, 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) { GroupWallet = null; _randomPendingID = new Random(); Message = string.Empty; Messages = new ObservableCollection <ChatMessage>(); LoadMoreCommand = new DelegateCommand <SfListView>(LoadMoreCommandExecuted); SendMessageCommand = new DelegateCommand(SendMessage); InteractMessageCommand = new DelegateCommand <ItemHoldingEventArgs>(InteractMessageCommandExecuted); PropertyChanged += ChatPageViewModel_PropertyChanged; }
public LoginPageViewModel(INavigationService navigationService, 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) { Title = "Login"; PrivateKey = string.Empty; RecoveryPhrase = new List <string>(new string[12]); ContinueCommand = new DelegateCommand(ContinueCommandExecuted); }
public UpdateUserPopupPageViewModel(INavigationService navigationService, 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) { User = new UserInfo(); UpdateCommand = new DelegateCommand(UpdateCommandExecuted); SelectProfilePictureCommand = new DelegateCommand(SelectProfilePictureCommandExecuted); }
public GroupPopupPageViewModel(INavigationService navigationService, 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) { AddressQrCodeContent = "none"; LeaveCommand = new DelegateCommand(LeaveCommandExecuted); JoinCommand = new DelegateCommand(JoinCommandExecuted); ShareCommand = new DelegateCommand(ShareCommandExecuted); ToggleEditModeCommand = new DelegateCommand(ToggleEditModeCommandExecuted); SelectProfilePictureCommand = new DelegateCommand(SelectProfilePictureCommandExecuted); SaveCommand = new DelegateCommand(SaveCommandExecuted); UserTappedCommand = new DelegateCommand <ItemTappedEventArgs>(UserTappedCommandExecuted); }
public ImagePopupPageViewModel(INavigationService navigationService, 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) { SaveCommand = new DelegateCommand <CachedImage>(SaveCommandExecuted); }
public ConfirmLoginPopupPageViewModel(INavigationService navigationService, 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) { User = new UserInfo { Name = string.Empty, ImageUrl = "baseline_person_grayish_48" }; ConfirmCommand = new DelegateCommand(ConfirmCommandExecuted); SelectProfilePictureCommand = new DelegateCommand(SelectProfilePictureCommandExecuted); }
public UserPopupPageViewModel(INavigationService navigationService, 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) { AddressQrCodeContent = "none"; }
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); }