0.8.0 - Android support and animation bugfixes
Main changes
Android ViewModel and Lifecycle support!
We now have almost full support of Android ViewModel and Lifecycle, check out #35 for detailed diff! Changes:
- Introduced DisposableScreenEffect and LaunchedScreenEffect as an analogue of compose Effects, but linked with screen lifecycle.
- Fixed screen dependencies clear order, now it is FIFO.
- Upgraded androidxLifecycle to 2.7.0
- Fixed logic of clearing during the exit animation - now it clears on animation finish
- Supported Android ViewModelStoreOwner, LifecycleOwner.
- Added ModoDevOptions and assertion to prevent access to ScreenModelStore after screen was removed
Autogen: What's Changedx
- stored codestyle in project by @ikarenkov in #27
- check MODO_GRAPH for null by @trdelnk in #29
- Screen lifecycle OnScreenRemoved callback by @ikarenkov in #28
- Fixed Dialog state and wrong Composition Local providing by @ikarenkov in #30
- Add sample for bottom sheet and changed dialog Api by @ikarenkov in #31
- Update gradle, agp, uses varion catalog and build-logic by @ikarenkov in #34
- First version of the android integration for the modo by @ikarenkov in #35
New Contributors
Full Changelog: v0.7.1...v0.8.0