Exemple #1
0
 public MyRecentSessionsPageViewModel()
 {
     Sessions         = new ObservableCollection <StudySessionItemVM>();
     _quizApi         = new QuizletRemoteRESTApi();
     _settingsService = SettingsService.Instance;
     _localSessions   = App.Container.Resolve <ILocalRecentStudySessions>();
     _loader          = new ResourceLoader();
     _setFetcher      = App.Container.Resolve <ISetFetcher>();
 }
Exemple #2
0
 public MySetsPageViewModel()
 {
     _loader          = new ResourceLoader();
     Sets             = new ObservableCollection <SetViewModel>();
     _setStorage      = App.Container.Resolve <ISetsLocalStorage>();
     _setFetcher      = App.Container.Resolve <ISetFetcher>();
     _quizApi         = App.Container.Resolve <IQuizletRESTApi>();
     _settingsService = SettingsService.Instance;
 }