I have a list of songs (List<Song>)
and i want to play all the songs even if the application goes into the background or under the lock screen.
I cannot use a SongCollection
and MediaPlayer.Play(SongCollection)
because i cannot create a SongCollection
object from a List<Song>
.
Is there anyway i can play this list of songs in the background, one by one (MediaPlayer.Play()) or otherwise?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…