android support! thanks to TachiWeb devs.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package android.preference
|
||||
|
||||
import android.content.Context
|
||||
|
||||
/**
|
||||
* Created by nulldev on 3/26/17.
|
||||
*/
|
||||
|
||||
class PreferenceManager {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun getDefaultSharedPreferences(context: Context)
|
||||
= context.getSharedPreferences(context.applicationInfo.packageName,
|
||||
Context.MODE_PRIVATE)!!
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user