Commit Graph

5 Commits

Author SHA1 Message Date
Relwi
72e14e7430
Add MediaDescriptionAdapter to the notification
With this adapter, the notification shows the video title on it.
2022-05-21 12:52:42 +02:00
Relwi
cb6579362e
Add the notification player
Now when you select a video to play it in the background mode,
appears a notification (for now does nothing).
2022-05-20 14:20:26 +02:00
Relwi
87430dc21e
Improvements in BackgroundMode
Now the class is a singleton, with this, we avoid to instantiate
every time a new ExoPlayer whenever we select a new video to play
in background.

Fixes the "When you select another video to run in background,
stops the previous one".
2022-05-19 22:13:42 +02:00
Relwi
b35bb93234
Little change on KDoc 2022-05-19 21:30:25 +02:00
Relwi
713d9cfe5b
Litte refactor
Move the background mode logical to another class for better
code distribution.
2022-05-08 12:41:08 +02:00