Commit Graph

6 Commits

Author SHA1 Message Date
Relwi
f345b142aa
Configurate the notification
It stills need more work, but for now I think is fine.
2022-05-26 21:38:25 +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
713d9cfe5b
Litte refactor
Move the background mode logical to another class for better
code distribution.
2022-05-08 12:41:08 +02:00
Relwi
970d1246ab
Load the video data correctly
Now you can play in background mode the video you selected.
2022-05-07 14:47:00 +02:00
Relwi
bcfa84a08a
Basic behavior on the background mode
For now I can't get properly the Stream with the data, but with
a hardcoded url it works.
2022-05-06 22:15:00 +02:00
Relwi
9c72b5ac9c
Added the options dialog
Added a MaterialAlertDialog with the "background mode" option,
needed to pass the childFragmentManager to display the alert.
2022-05-06 15:47:02 +02:00