Anyone knows a trick to make all CircularProgressI...
# compose
p
Anyone knows a trick to make all CircularProgressIndicator rotate at the same position (sync their movement) even if they are rendered at different times.
y
I don't think the API is exposed to do that directly. I might be tempted to try drawing to a graphics layer, and then drawing that recording in the other places. Hidden behind some API. But it's not simple
p
It would be cool if you can pass a Clock for components with animations.
y
They all share a clock I think from Compose, I think it's more they start at different points in time, and after recreation. The Wear API exposes a low level draw, so you can control this and still use the component
t
I have never tried using it, but perhaps the clock APIs on
compose.runtime
could help