Maik
03/25/2021, 3:06 PMexception: java.lang.IllegalStateException: A MonotonicFrameClock is not available in this CoroutineContext. Callers should supply an appropriate MonotonicFrameClock using withContext.
How can I give the context the appropriate clock?Adam Powell
03/25/2021, 3:09 PMLaunchedEffect
or rememberCoroutineScope()
.Maik
03/25/2021, 3:19 PMcafonsomota
03/26/2021, 3:04 PMGlobalScope
in order to expand a bottom sheet and instead I should be using:
val coroutineScope = rememberCoroutineScope()