Nikita Prokopov
02/21/2020, 1:01 PMval counter = state { 0 }
timer(period = 16L) { counter.value++ }
Gives me an exception:
Exception in thread "Timer-0" java.lang.IllegalStateException: Not in a frame
at androidx.compose.frames.FramesKt.currentFrame(Frames.kt:180)
at androidx.compose.frames.FramesKt.writable(Frames.kt:461)
at androidx.compose.ModelMutableState.setValue(MutableState.kt:176)
Manuel Wrage
02/21/2020, 1:02 PMNikita Prokopov
02/21/2020, 1:05 PMManuel Wrage
02/21/2020, 1:06 PMNikita Prokopov
02/21/2020, 1:10 PMSrSouza
02/21/2020, 1:30 PMLeland Richardson [G]
02/21/2020, 5:46 PMLeland Richardson [G]
02/21/2020, 5:48 PM