コード例 #1
0
        private async void LoadPlaylists()
        {
            IsBusy   = true;
            Progress = null;
            Status   = "Lade Playlists...";

            var playlists = await spotify.GetPlaylistsAsync();

            Playlists.Clear();

            foreach (var playlist in playlists)
            {
                Playlists.Add(playlist);
            }

            Status   = string.Empty;
            Progress = 0;
            IsBusy   = false;
        }