Beispiel #1
0
        private static void SearchAlbumsCallback(SearchResultAlbums searchResult)
        {
            foreach (var item in searchResult.Albums)
            {
                item.Group = App._searchResult[SearchResult.AlbumsGroupTitle];
            }

            App._searchResult.AddAlbums(searchResult.Albums);
            var page = Window.Current.Content as View.GroupedCollectionPage;

            page.Groups = App._searchResult.SearchResultGroups;
        }
        private static void SearchAlbumsCallback(SearchResultAlbums searchResult)
        {
            foreach (var item in searchResult.Albums)
                item.Group = App._searchResult[SearchResult.AlbumsGroupTitle];

            App._searchResult.AddAlbums(searchResult.Albums);
            var page = Window.Current.Content as View.GroupedCollectionPage;
            page.Groups = App._searchResult.SearchResultGroups;
        }