Update to androidx preferences

This commit is contained in:
2020-06-22 13:36:05 +01:00
parent bf6f8f52dc
commit 156d156134
3 changed files with 10 additions and 1 deletions

View File

@@ -37,4 +37,7 @@ dependencies {
//Kodein Dependency Injection
implementation "org.kodein.di:kodein-di-generic-jvm:6.2.1"
implementation "org.kodein.di:kodein-di-framework-android-x:6.2.1"
// AndroidX preferences
implementation 'androidx.preference:preference:1.1.1'
}

View File

@@ -2,7 +2,7 @@ package com.example.h_mal.timer_app.data.prefs
import android.content.Context
import android.content.SharedPreferences
import android.preference.PreferenceManager
import androidx.preference.PreferenceManager
const val TimerConstant = "TIMER_CONSTANT"