public PhotostreamItemViewModel(Photo photo, IDialogService dialogService, IPhotosetService photosetService, IGroupService groupService) { _dialogService = dialogService; _photosetService = photosetService; _groupService = groupService; _photo = photo; OpenDetailsCommand = new AsyncCommand(ExecuteOpenDetailsCommand); }
public PhotoStreamTabViewModel(IPhotostreamService photoSearchService, IDialogService dialogService, ISettingsService settingsService, IPhotosetService photosetService, IGroupService groupService) { _photostreamService = photoSearchService; _dialogService = dialogService; _settingsService = settingsService; _photosetService = photosetService; _groupService = groupService; PageNavigationViewModel = new PageNavigationViewModel(GoToNextPage, GoToPreviousPage); Photos = new ObservableCollection <PhotostreamItemViewModel>(); }