Esempio n. 1
0
 private void OnIsFilteringChanged()
 {
     if (IsFiltering)
     {
         _previousState = State;
         State          = PlaybackViewModelStateEnum.Filter;
     }
     else
     {
         FilterText = string.Empty;
         State      = _previousState;
     }
 }
Esempio n. 2
0
        public async Task ShowArtistInfo()
        {
            if (ActiveItem == null)
            {
                return;
            }

            if (State != PlaybackViewModelStateEnum.Details)
            {
                _previousState = State;
                State          = PlaybackViewModelStateEnum.Details;
            }

            ArtistInfoViewModel.Parameter = ActiveItem.Artist;
            await ArtistInfoViewModel.Populate();
        }
 private void OnIsFilteringChanged()
 {
     if (IsFiltering)
     {
         _previousState = State;
         State = PlaybackViewModelStateEnum.Filter;
     }
     else
     {
         FilterText = string.Empty;
         State = _previousState;
     }
 }
        public async Task ShowArtistInfo()
        {
            if (ActiveItem == null) return;

            if (State != PlaybackViewModelStateEnum.Details)
            {
                _previousState = State;
                State = PlaybackViewModelStateEnum.Details;
            }

            ArtistInfoViewModel.Parameter = ActiveItem.Artist;
            await ArtistInfoViewModel.Populate();
        }