Example #1
0
 public SettingsViewModel(IMvxLogProvider logProvider, IMvxNavigationService navigationService, ISettings settings, ILoginService loginService, ICommonService commonService)
     : base(logProvider, navigationService)
 {
     _loginService       = loginService;
     _settings           = settings;
     _commonService      = commonService;
     _confirmSave        = new MvxInteraction <YesNoQuestion>();
     SaveSettingsCommand = new MvxCommand(AskToProceed);
 }
Example #2
0
        //TODO: For more information see: https://www.mvvmcross.com/documentation/fundamentals/navigation
        public void Init()
        {
            ConfirmationInteraction       = new MvxInteraction <BooleanInteraction>();
            _requester.HandshakeComplete += async(sender, e) =>
            {
                await _idMapper.SaveAsync(_id);

                DeployConfirm();
            };
        }