eygraber
06/07/2022, 8:11 PMeygraber
06/07/2022, 8:40 PMTestComposeWindow in a few places, but I can't get it to resolve using Jetbrains Compose 1.2.0-alpha01-dev707Igor Demin
06/07/2022, 8:53 PMImageComposeScene. See examples hereeygraber
06/07/2022, 9:54 PMtime to render advance the clock for coroutines inside launched effects?Igor Demin
06/08/2022, 11:44 AMUnconfinedTestDispatcher and pass it as coroutineContexteygraber
06/08/2022, 4:26 PMeygraber
06/08/2022, 4:54 PM1500.milliseconds?Igor Demin
06/08/2022, 5:11 PMlike rendering at a past time after rendering at a future timeThe time passed to
render should be monotonic, i.e. you shouldn't try to pass a lower time after you passed a greater time. Probably we'll add a check for that in the future and describe that in the docs.
I supposed to advance the coroutine clock by one second, and then call render withYou should advance the clock by 1500 milliseconds, and pass 1500 to?1500.milliseconds
render. The time inside a coroutine clock should be same as the time passed to render function.
There is idea to embed the test dispatcher into ImageComposeScene, but that is only an idea for now. That would also fix another issueeygraber
06/08/2022, 5:38 PMImageComposeScene I should always keep them in sync? And hopefully in the future this behavior will be embedded in ImageComposeScene?Igor Demin
06/08/2022, 5:39 PMeygraber
06/09/2022, 3:15 PMAnimatedVisibility? It doesn't seem to render those mid transition; only pre or post transition.eygraber
06/09/2022, 7:04 PMAnimatedVisibility content is visible when rendering the scene at `0`:eygraber
06/09/2022, 7:05 PMeygraber
06/09/2022, 7:34 PManimateDpAsState does work:eygraber
06/09/2022, 7:34 PMeygraber
06/10/2022, 9:04 PM