daxcurson / ampflower

Music player for the Ampache server
GNU General Public License v3.0
3 stars 0 forks source link

Player buttons go to default state when the app is resumed #4

Closed daxcurson closed 2 years ago

daxcurson commented 2 years ago

The state of the buttons for Play is not kept when the screen is resumed. This may be due to the application state not being kept.

daxcurson commented 2 years ago

This is fixed, I added a ViewModel for the player state that I read when the activity processes its initial state.