public PaletteColourSelectPageViewModel(INavigationService navigationService, IAppDataService appDataService, IPageDialogService dialogService, IColoursService coloursService) : base(navigationService, appDataService) { _dialogService = dialogService; _coloursService = coloursService; Palettes = _coloursService.GetColourPalettes(); PaletteSelectCommand = new Command <ColourPalette>(PaletteSelect); NextCommand = new Command <string>(NextPage); }
public CustomColourSelectPageViewModel(INavigationService navigationService, IAppDataService appDataService, IColoursService coloursService, IPageDialogService dialogService) : base(navigationService, appDataService) { _dialogService = dialogService; ColourSelectCommand = new Command <ColourItem>(ColourSelect); NextCommand = new Command <string>(NextPage); _coloursService = coloursService; Colours = _coloursService.GetColours(); SelectedColours = new ObservableCollection <ColourItem>(); }