示例#1
0
 public SpotifyArtistViewModel(ISpotifyService service, IScrobblerService scrobbler, SettingViewModel settingViewModel)
 {
     _service               = service;
     _scrobbler             = scrobbler;
     _songClickRelayCommand = new Command <ItemClickEventArgs>(SongClickExecute);
     SettingViewModel       = settingViewModel;
 }
示例#2
0
 public CollectionArtistViewModel(ICollectionService service, CollectionCommandHelper commands, SettingViewModel settingViewModel)
 {
     _service          = service;
     _commands         = commands;
     _songClickCommand = new Command <ItemClickEventArgs>(SongClickExecute);
     SettingViewModel  = settingViewModel;
 }