Mehdi Haghgoo
07/31/2021, 9:12 PMvar inc by remember{ mutableStateOf(0)}
remember{object: CountDownTimer(100L, 1L){
override fun onTick(millisUntilFinished: Long) {
inc++
}
override fun onFinish() {
}
}.start() }
Dominaezzz
07/31/2021, 9:40 PMproduceState
with a while loop and delay
.