Ejemplo n.º 1
0
 private void PopulateCollection(MixCollection coll, Mix[] mixes)
 {
     foreach (var item in mixes)
     {
         coll.Add(item);
     }
 }
Ejemplo n.º 2
0
        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);
        }