Bumped dependencies

This commit is contained in:
Sylvain Berfini 2023-03-13 10:33:04 +01:00
parent 0df5ff6c30
commit c39f350bdd
2 changed files with 7 additions and 8 deletions

View file

@ -197,7 +197,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core-splashscreen:1.0.0'
implementation 'androidx.emoji2:emoji2:1.2.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0'
implementation 'androidx.media:media:1.6.0'
implementation "androidx.security:security-crypto-ktx:1.1.0-alpha05"
implementation "androidx.window:window:1.0.0"
@ -210,7 +210,7 @@ dependencies {
implementation "androidx.slidingpanelayout:slidingpanelayout:1.2.0"
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation "androidx.gridlayout:gridlayout:1.0.0"
implementation 'androidx.recyclerview:recyclerview:1.3.0-rc01'
implementation 'androidx.recyclerview:recyclerview:1.3.0'
// https://github.com/material-components/material-components-android/blob/master/LICENSE Apache v2.0
implementation 'com.google.android.material:material:1.8.0'

View file

@ -71,15 +71,14 @@ class CoreContext(
useAutoStartDescription: Boolean = false
) :
LifecycleOwner, ViewModelStoreOwner {
private val _lifecycleRegistry = LifecycleRegistry(this)
override fun getLifecycle(): Lifecycle {
return _lifecycleRegistry
}
override val lifecycle: Lifecycle
get() = _lifecycleRegistry
private val _viewModelStore = ViewModelStore()
override fun getViewModelStore(): ViewModelStore {
return _viewModelStore
}
override val viewModelStore: ViewModelStore
get() = _viewModelStore
private val contactLoader = ContactLoader()