https://kotlinlang.org logo
#compose
Title
# compose
h

Harold Scissors

07/27/2022, 11:23 PM
Somewhat related follow-up question to the above: what would be the best way have a suspend fun called on each
Lifecycle.State.RESUMED
? I tried this which was posted before on similar threads but it seems because
produceState
conflates
value
, only the first value causes recomposition. So, on the first resume, we see the value, on the second (if it is the same) we see nothing. Ideally, we'd want to see it on every
RESUMED
even if it is the same.
2 Views