For some reason, when I change the value of a component e.g. mediaState, the composables using it are not recomposed, so my UI is not updated unless I navigate to another screen and come back to see the updated UI.
Zach Klippenstein (he/him) [MOD]
10 months ago
Your mediaState property isn't backed by a MutableState so Compose has no way of knowing when it changes.