private void LoadFilterData() { BiketimerFacade biketimerFacade = new BiketimerFacade(); string biketimerApiAccessToken = AccountManager.Instance.AccountData.BiketimerAccountData.Access.AccessToken; biketimerFacade.GetSpots(biketimerApiAccessToken) .ContinueWith(t => OnFilterDataFetched(t.Result)); }
public Spots(NavigationPage topNavigationPage) { _topNavigationPage = topNavigationPage; InitializeComponent(); _spotsViewModel = new SpotsViewModel(); _spotsViewModel.IsBusy = true; BindingContext = _spotsViewModel; ListView.ItemSelected += OnSpotSelected; ActivityIndicator.IsVisible = true; ActivityIndicator.IsRunning = true; ListView.ItemsSource = new ObservableCollection<Spot>(); if (AccountManager.Instance.BiketimerAccountDataPresent()) { BiketimerFacade biketimerFacade = new BiketimerFacade(); biketimerFacade.GetSpots(AccountManager.Instance.AccountData.BiketimerAccountData.Access.AccessToken) .ContinueWith(OnSpotsDownloaded); } }
internal LoginProcessor() { _facebookFacade = new FacebookFacade(); _biketimerIdentityFacade = new BiketimerIdentityFacade(); _biketimerFacade = new BiketimerFacade(); }
public BiketimerStateManager() { _biketimerFacade = new BiketimerFacade(); }