https://kotlinlang.org logo
Title
u

user

07/02/2022, 12:31 PM
Composable does not update when mutablestateflow in viewmodel I have Viewmodel where I keep reference to post. When i want to translate post i run function to update state flow and post and if I put logs there I see that value is changed but my composable did not get any new value. Here is part of code from viewmodel that doing this magic private var originalText = tile.text?.originalText private var text = tile.text?.text private var _postTileState = MutableStateFlow(tile) val tileState = _postTileState.asStateFlow() fun...