public PlaylistDetailPage(PlaylistViewModel playlist) { _playlist = playlist; InitializeComponent(); title.Text = _playlist.Title; }
private async Task SelectPlaylist(PlaylistViewModel playlist) { if (playlist == null) { return; } playlist.IsFavorite = !playlist.IsFavorite; SelectedPlaylist = null; await _pageService.PushAsync(new PlaylistDetailPage(playlist)); }