private void PopulateCollection(MixCollection coll, Mix[] mixes) { foreach (var item in mixes) { coll.Add(item); } }
protected override async void OnNavigatedTo(NavigationEventArgs e) { NavigationHelper.SetTitleBarBackButton(); this.mainGrid.DataContext = (Mix)e.Parameter; currentMix = (Mix)e.Parameter; mixProps = await Common.Music.Play(currentMix.id, Common.Music.ChangeSongUserAction.PLAY); //player.Source = new System.Uri(mixProps.track.track_file_stream_url); }