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