public LogInPage(IChikwamaNavService navService, NewWalletController controller) { InitializeComponent(); BindingContext = new LoginViewModel(navService, controller); }
public SendMoneyPage(IChikwamaNavService navService, NewWalletController controller) { InitializeComponent(); BindingContext = new SendMoneyViewModel(navService, controller); }
public TransactionHistoryViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; this.accountsManager = new AccountManager(controller); this.navService = navService; LoadData(); }
public ConfirmPasscodeViewModel(NewWalletController controller, IChikwamaNavService navService) : base(navService) { this.controller = controller; _navService = navService; ContinueCommand = new Command(async() => await ExecuteContinueCommand(Passcode)); }
public WalletViewModel(IChikwamaNavService navService) : base(navService) { //locationService = DependencyService.Get<IChikwamaLocationService>(); //locationService.GetMyLocation(); //accountManager = DependencyService.Get<IAccountManager>(); //walletManager = DependencyService.Get<IWalletManager>(); tokens = new ObservableCollection <WalletModel>(); }
public LoginViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; _navService = navService; walletManager = new WalletManager(); CreateCommand = new Command(async() => await ExecuteCreateWallet()); UnlockCommand = new Command(async() => await ExecuteUnlockCommand()); }
public PassphraseViewModel(NewWalletController controller, IChikwamaNavService navService) : base(navService) { this.controller = controller; _navService = navService; Words = string.Join(" ", controller.GetSeedWords()); ContinueCommand = new Command(async() => await ExecuteContinueCommand()); }
public PasscodeViewModel(NewWalletController controller, IChikwamaNavService navService) : base(navService) { walletManager = new WalletManager(); _navService = navService; this.controller = controller; ContinueCommand = new Command(async() => await ExecuteContinue()); }
public BecomeCashPointViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; this.accountsManager = new AccountManager(controller); this.navService = navService; BecomeCashPointCommand = new Command(async() => await ExecuteBecomeCashPointCommand()); }
public CashPointViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; this.accountsManager = new AccountManager(controller); this.navService = navService; GetCashPoints(); }
public SendMoneyViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; this.accountsManager = new AccountManager(controller); this.navService = navService; var radd = controller.GetReciever(); if (radd != "") { RecipientAddress = radd.Substring(9); } ViewHistoryCommand = new Command(async() => await ExecuteViewHistoryCommand()); RefreshBalanceCommand = new Command(async() => await ExecuteRefreshBalanceCommand()); ScanQRCommand = new Command(async() => await ExecuteScanQRCommand()); SendCommand = new Command(async() => await ExecuteSendCommand()); ShareCommand = new Command(async() => await ExecuteShareCommand()); }
public AccountViewModel(IChikwamaNavService navService) : base(navService) { // Get our Location Service locationService = DependencyService.Get <IChikwamaLocationService>(); accounts = new ObservableCollection <AccountModel>(); this.walletManager = walletManager; // Check to ensure that we have a value for our object if (locationService != null) { locationService.MyLocation += (object sender, IChikwamaLocationCoords e) => { // Obtain our Latitude and Longitude // coordinates myLatitude = e.latitude; myLongitude = e.longitude; }; } // Call our Service to get our GPS location locationService.GetMyLocation(); }
public ScannerPage(IChikwamaNavService navService, NewWalletController controller) { Title = "QRCode Scanner"; this.controller = controller; this.navService = navService; InitializeComponent(); BindingContext = new ScannerViewModel(navService, controller); scannerView.Options = new MobileBarcodeScanningOptions() { UseFrontCameraIfAvailable = false, //update later to come from settings PossibleFormats = new List <BarcodeFormat> { BarcodeFormat.QR_CODE }, TryHarder = true, AutoRotate = false, TryInverted = true, DelayBetweenContinuousScans = 2000 }; }
public MainViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.controller = controller; this.navService = navService; Items = new ObservableCollection <MenuItems>() { new MenuItems() { Title = "Send", ItemDetails = "Transfer Money to another account", Icon = "" }, new MenuItems() { Title = "Get Money", ItemDetails = "Recieve to my account", Icon = "" }, new MenuItems() { Title = "Transactions", ItemDetails = "View statistic info", Icon = "" }, new MenuItems() { Title = "Find Cash Point", ItemDetails = "Find a Cash Point near you", Icon = "" }, new MenuItems() { Title = "Become Cash Point", ItemDetails = "Become a cashpoint", Icon = "" }, }; }
public TokenEntryViewModel(IChikwamaNavService navService) : base(navService) { TokenName = "Ethereum"; TokenAddress = "0x9265C494eCEe37A2a7Aa400810620c061981cEB8"; TokenSymbol = "Eth"; }
public CashPointPage(IChikwamaNavService navService, NewWalletController controller) { InitializeComponent(); BindingContext = new CashPointViewModel(navService, controller); }
protected ChikwamaBaseViewModel(IChikwamaNavService navService) { NavService = navService; }
public TransactionHistoryPage(IChikwamaNavService navService, NewWalletController controller) { InitializeComponent(); BindingContext = new TransactionHistoryViewModel(navService, controller); }
public TokenDetailsViewModel(IChikwamaNavService navService) : base(navService) { }
public ConfirmPasscodePage(NewWalletController controller, IChikwamaNavService navService) { InitializeComponent(); BindingContext = new ConfirmPasscodeViewModel(controller, navService); }
public ScannerViewModel(IChikwamaNavService navService, NewWalletController controller) : base(navService) { this.navigationService = navService; this.controller = controller; }
public PassphraseConfirmationPage(NewWalletController controller, IChikwamaNavService navService) { InitializeComponent(); BindingContext = new PassphraseConfirmationViewModel(controller, navService); }