Beispiel #1
0
        private void ImageButton_Clicked(object sender, EventArgs e)
        {
            if (current != null)
            {
                if (player != null)
                {
                    player.Dispose();
                }

                MusicSelected?.Invoke(this, new SelectedEventArgs(current.SgSongPath, current.Music));
            }
        }
Beispiel #2
0
 private void Music_ItemClick(object sender, AdapterView.ItemClickEventArgs e)
 {
     MusicSelected?.Invoke(music.GetItemAtPosition(e.Position), new EventArgs());
 }