Play Music in Background

I need your help. Which of 3 components

ExoPlayer or

can I use if I want to play music in background?

Thank you

If app is not closed from taskbar then music play and if closed from taskbar music stop. You can use any of components for that.

I mean when App closes by taskbar, Sleep or Lock screen. I need all possibility.

Thank you

See the links here

and use a foreground service


Hi @Xoma ,
Can you help me more how can i use Itoo for play music in background please?

Thank you

Yes, the extension mentioned above works for me for background play.

Really, Could help me?