Exemplo n.º 1
0
        public PersonViewModel()
        {
            _accountStore = DependencyService.Get <IAuthAccountStore>();
            _twitterApi   = new TwitterApi();
            _adafruitApi  = new AdafruitApi();

            LogoutCommand        = new Command(Logout);
            SendBadgeDataCommand = new Command(SendBadgeData);
        }
Exemplo n.º 2
0
        public LoginViewModel()
        {
            _accountStore = DependencyService.Get <IAuthAccountStore>();

            TwitterAuthCommand = new Command((obj) => AuthenticateWithTwitter());
        }
Exemplo n.º 3
0
 public TwitterApi()
 {
     _accountStore = DependencyService.Get <IAuthAccountStore>();
 }