private void PopulatePlaylistList() { PlaylistList.Clear(); List <Playlist> temp = QueryManager.GetPlaylists(""); for (int i = 0; i < temp.Count; i++) { PlaylistList.Add(temp[i]); } }
/// <summary> /// 初期化する /// </summary> internal async Task Initialize() { // プレイリスト一覧を空にする PlaylistList.Clear(); var playlists = await m_YouTubeService.GetMyPlaylists(); foreach (var playlist in playlists) { PlaylistList.Add(new PlaylistViewModel(playlist, m_WebClientService)); } }