You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancement: Upgrade AndroidX Lifecycle to 2.8.x #192
The project uses androidLifecycleGrouped = "2.7.0" for all lifecycle-related artifacts (lifecycle-viewmodel-compose, lifecycle-runtime-ktx, lifecycle-livedata-ktx, etc.). Lifecycle 2.8.x is now stable and includes important improvements.
Key Improvements in Lifecycle 2.8
LifecycleEventEffect and LifecycleStartEffect/LifecycleResumeEffect composables — cleaner replacements for DisposableEffect with LocalLifecycleOwner.
collectAsStateWithLifecycle improvements for safer Flow collection tied to UI lifecycle.
viewModel() KMP support — multiplatform ViewModel for future KMP migration.
Bug fixes and improved SavedState integration.
Proposed Changes
In Versions.kt, update:
constval androidLifecycleGrouped ="2.8.x"// e.g. "2.8.7"
All lifecycle artifacts using this version constant update automatically:
lifecycle-viewmodel-compose
lifecycle-viewmodel-ktx
lifecycle-livedata-ktx
lifecycle-runtime-ktx
lifecycle-viewmodel-savedstate
Review usages of DisposableEffect(lifecycleOwner) in the codebase and consider migrating to the new LifecycleEventEffect API where applicable.
Activity
feat: upgrade AndroidX Lifecycle to 2.8.7
feat: upgrade AndroidX Lifecycle to 2.8.7
feat: upgrade AndroidX Lifecycle to 2.8.7