public PhotostreamItemViewModel(Photo photo,
                                        IDialogService dialogService,
                                        IPhotosetService photosetService,
                                        IGroupService groupService)
        {
            _dialogService   = dialogService;
            _photosetService = photosetService;
            _groupService    = groupService;

            _photo = photo;

            OpenDetailsCommand = new AsyncCommand(ExecuteOpenDetailsCommand);
        }
Exemplo n.º 2
0
        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>();
        }