Yev Kanivets
02/09/2022, 3:44 PMSystem.currentTimeMillis()
in if inside composable directly (I think it won't cause recomposition)? Or should I pass it as part of the state and change with old good timer? Or are there better approaches?hfhbd
02/09/2022, 3:47 PMCasey Brooks
02/09/2022, 3:48 PMproduceValue
might be a good choice for this
val showStatus by produceState(true) {
value = true
delay(5000)
value = false
}