izyaboi
03/08/2021, 3:44 PMvar isPlayingState by remember { mutableStateOf(false) }
and set it in clickable (Box)
isPlayingState = if (player.isPlaying) {
player.pause()
false
} else {
player.play()
true
}
If i navigate to the second tab and navigate back the value ist false and not the last state i set ?why?Desmond Teo
03/08/2021, 3:56 PMjaqxues
03/08/2021, 4:14 PMizyaboi
03/08/2021, 4:22 PM