I don’t know the transition apis very well, but just a guess – you’re passing the same label in for all the transitions in your loop – if that label is used as a key internally, they might be clobbering each other. What if you add the index to the label?
d
Daniel Candeias
04/06/2021, 4:17 PM
index added to both labels, but still not working as expected.
The SingleProgress is animating as expected, but not the MultipleProgress (any of them) 😕
g
Gabriele Mariotti
04/07/2021, 7:56 AM
I think the issue is in the weight value.
If you try the MultipleProgress with 2 values, and changing the
Copy code
val weight = if (progressTransition.value < 100/2) 1-progressTransition.value
else progressTransition.value
it works because you have homogeneous delta between the 2 values.
With 3 values it is not true.