rsktash
02/18/2021, 1:13 AMDoris Liu
02/18/2021, 1:51 AMrsktash
02/18/2021, 2:16 AMDoris Liu
02/18/2021, 2:46 AMrsktash
02/18/2021, 3:16 AMandroidx.compose.transition:transition:1.0.0-alpha01
Doris Liu
02/18/2021, 3:42 AMrsktash
02/18/2021, 3:44 AMDoris Liu
02/18/2021, 4:14 AMTransition
as a vehicle for all the animations in (any level of the) children, including shared element, during the screen/destination change. `Transition`'s state change can be observed by navigation (or anyone else) and therefore can be used as a signal for when things should be destructed.
Looking at the snippet above, it shouldn't be hard for decompose to support such a concept. We need to experiment with that idea some more and build necessary pieces in Transition
to support that. We'll keep your use case in mind when we build it. 🙂 Animation features such as shared element will most likely be in the animation library, while navigation component being a client of it.Arkadii Ivanov
02/18/2021, 9:31 AMCrossfade
-like API. I hope there will be more animations like Crossfade.Doris Liu
02/20/2021, 2:23 AMCrossfade
is actually now built on Transition
. Glad to hear that Decompose already supports that. I'm hoping to build more layout animation with Transition
. Stay tuned. 🙂