Open daxcurson opened 2 years ago
This is due to the entire MainActivity being re-created. Also, the Player loses its status, and although it receives media update messages, it loses the song media name and album art, because the MainActivity is not keeping the state of the player in e.g. a ViewModel. I should create a ViewModel for the player status.
After the first "field test" of the player, some issues were detected, among these, that the RecyclerView selection is cleared when the screen is rotated. There must be a way to keep the state when the screen is rotated...