public PhotoDetailsViewModel(INavigationService navigationService, IDialogService dialogService, IConnectivityService connectivityService, IPhotoService photoService)
 {
     this.navigationService   = navigationService;
     this.dialogService       = dialogService;
     this.connectivityService = connectivityService;
     this.photoService        = photoService;
 }
        public ProfileViewModel(IDialogService dialogService, INavigationService navigationService, IConnectivityService connectivityService, IPhotoService photoService)
        {
            this.dialogService       = dialogService;
            this.navigationService   = navigationService;
            this.connectivityService = connectivityService;
            this.photoService        = photoService;

            UserPhotos = new ObservableRangeCollection <Photo>();
        }
Exemple #3
0
        public CategoriesViewModel(INavigationService navigationService, IDialogService dialogService, IConnectivityService connectivityService, IPhotoService photoService)
        {
            this.navigationService   = navigationService;
            this.dialogService       = dialogService;
            this.connectivityService = connectivityService;
            this.photoService        = photoService;

            heroImages    = new ObservableRangeCollection <Photo>(MockData.GetHeroImages());
            topCategories = new ObservableRangeCollection <GroupedCategoryPreview>(MockData.GetTopCategories());
        }