public PersonViewModel() { _accountStore = DependencyService.Get <IAuthAccountStore>(); _twitterApi = new TwitterApi(); _adafruitApi = new AdafruitApi(); LogoutCommand = new Command(Logout); SendBadgeDataCommand = new Command(SendBadgeData); }
public LoginViewModel() { _accountStore = DependencyService.Get <IAuthAccountStore>(); TwitterAuthCommand = new Command((obj) => AuthenticateWithTwitter()); }
public TwitterApi() { _accountStore = DependencyService.Get <IAuthAccountStore>(); }