public PlayerModelView(BaseViewModel collect, AudioProperties track)
 {
     playPauseImage = new Image {
         Source = "Play.png"
     };
     // trackPath = collect;
     PlayCommand  = new Command(OnClick);
     currentTrack = track;
     pl           = new PlayerModel(currentTrack.TrackPath);
 }
Exemplo n.º 2
0
        private void ListView_ItemSelected(object sender, ItemTappedEventArgs e)
        {
            AudioProperties a = e.Item as AudioProperties;

            Navigation.PushAsync(new PlayerView(new PlayerModelView(BindingContext as BaseViewModel, a)));
        }