Exemplo n.º 1
0
        public ControllerViewModel(AttendeesViewModel attendeesView, TunePlayer tunePlayer, ImageSticker imageSticker, ChuckApiService chuckApi)
        {
            _attendeesViewModel = attendeesView;

            AttendeesView = attendeesView;
            _tunePlayer   = tunePlayer;
            _imageSticker = imageSticker;
            _chuckApi     = chuckApi;
            _tunePlayer.MusicStatusChange += (s, e) =>
            {
                _playButton.Content = _tunePlayer.IsPlaying ? "STOP MUSIC" : "PLAY MUSIC";
            };

            SelectedTriviaOption = "Movies";
            SelectedTriviaLevel  = "Hard";
        }
Exemplo n.º 2
0
 public ImagesViewModel(ImageSticker imageSticker)
 {
     _imageSticker = imageSticker;
 }