mirror of
https://github.com/hmalik144/Timer_app.git
synced 2025-12-10 03:05:25 +00:00
Update to androidx preferences
This commit is contained in:
@@ -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'
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user