from the receiver AnimatedContentScope (which is an impl of Transition.Segment), instead of from the Transition directly. When seeking Transitions (e.g. for animation tooling), we'll be creating new
Transition.Segment
for the specific initial/target required by seeking, and call
Transition.Segment.transitionSpec()
to obtain the animations used in that segment. There's no guarantee that the Segment.initialState is always the same as Transition.currentState.
t
theapache64
09/20/2021, 6:40 PM
Understood 👍
d
Doris Liu
09/20/2021, 6:43 PM
We should probably include that in the documentation. 🙂
BTW, aside from MTS allowing instantiation outside of composition,