Exemplo n.º 1
0
        private async void SelectPlaylist(PlaylistViewModel playlist)
        {
            if (playlist == null)
            {
                return;
            }
            playlist.IsFavorite = !playlist.IsFavorite;

            SelectedPlaylist = null;

            await _pageServicel.PushAsync(new PlaylistDetailPage(playlist));
        }
        public void SelectPlaylist(Playlist playlist)
        {
            if (playlist == null)
            {
                return;
            }

            playlist.IsFavorite = !playlist.IsFavorite;

            SelectedPlaylist = null;

            //await Navigation.PushAsync (new PlaylistDetailPage(playlist));
        }