0.30.0
Updates to ViewModelBackStackRecordLocalProvider
ViewModelBackStackRecordLocalProvider has moved from the backstack module to the circuit-foundation module while also changing to use the multiplatform ViewModel implementation. ViewModelBackStackRecordLocalProvider is now provided as a default through the Circuit instance, enabling customization of the default BackStackRecordLocalProviders.
Also added backStackHostViewModel() to access a ViewModel located in the ViewModelStoreOwner of NavigableCircuitContent.
Behaviour Changes:
- Rebuilt
continuityRetainedStateRegistryas a commonlifecycleRetainedStateRegistryand madeViewModelan implementation detail of it. AnimatedNavDecorationis now using the full back stack to determine the transition animation.
Misc:
- [gesture-navigation] Fix a crash when using
AndroidPredictiveBackNavDecoratorand having previously called with .