public HomeViewModel(ApplicationManager appManager)
 {
     _appManager = appManager;
     Users = new ObservableCollection<UserViewModel>();
     Events = new ObservableCollection<EventViewModel>();
     _eventViewModelFactory = new EventViewModelFactory();
     _photoPicker = DependencyService.Get<IPhotoPicker>();
     LoadData();
 }
示例#2
0
 public HomeViewModel(ApplicationManager appManager)
 {
     _appManager            = appManager;
     Users                  = new ObservableCollection <UserViewModel>();
     Events                 = new ObservableCollection <EventViewModel>();
     _eventViewModelFactory = new EventViewModelFactory();
     _photoPicker           = DependencyService.Get <IPhotoPicker>();
     LoadData();
 }