dead.fish
03/15/2022, 12:59 PMLazyRow
implementation where I prevent simultanous clicks on single items via a LaunchedEffect
(key is a boolean mutable state, if the state gets false, i.e. some item is clicked and clicking is now disabled, I delay for 100ms and then set the state back to enabled). How would I test such a thing with ComposeTestRule
? My initial idea was to use ComposeTestRule
s mainClock
and call adanceTimeBy(101)
, but that doesn’t seem to work at all (not even with double the time). Any pointers?