MR3Y
07/11/2024, 7:21 PMAnimatedContent
Scope that is used for navigation transitions between destinations?
Context: I want to use shared element transitions to animate between elements in different screens(destinations) so, I want to pass the AnimatedContentScope
down to all routes through CompositionLocal
or should I basically wrap all of my destinations in an `AnimatedVisibility`/`AnimatedContent` . I don't want to do the latter as I want to take advantage of the scope that is already available for my navigation destinationsMR3Y
07/11/2024, 8:10 PMcomposable
fun while I'm using kiwi navigation composable
one which doesn't expose it as a receiverMR3Y
07/11/2024, 8:13 PMStylianos Gakis
07/11/2024, 8:59 PMnavigation
functions which expose the scope in some way. A composition local would work for example.
The alternative is you can migrate to the new type-safe(ish) apis from the official library and you'd be fine like that tooMR3Y
07/11/2024, 9:13 PM