SharedPrefsHelpers

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getBoolean(key: String, defaultValue: Boolean): Boolean
Link copied to clipboard
fun <T> getDataList(tag: String?): List<T>?
Link copied to clipboard
fun getFloat(key: String, defaultValue: Float): Float
Link copied to clipboard
fun getInt(key: String, defaultValue: Int): Int
Link copied to clipboard
fun getLong(key: String, defaultValue: Long): Long
Link copied to clipboard
fun <T> getObject(key: String, classType: Class<T>?): T?
Link copied to clipboard
fun <T> getObjectsList(key: String): List<T>
Link copied to clipboard
fun getString(key: String, defaultValue: String?): String?
Link copied to clipboard
fun saveBoolean(key: String?, value: Boolean)
Link copied to clipboard
fun saveFloat(key: String?, value: Float)
Link copied to clipboard
fun saveInt(key: String?, value: Int)
Link copied to clipboard
fun saveLong(key: String?, value: Long)
Link copied to clipboard
fun <T> saveObject(key: String?, object: T)
Link copied to clipboard
fun <T> saveObjectsList(key: String?, objectList: List<T>?)
Link copied to clipboard
fun saveString(key: String?, value: String?)
Link copied to clipboard
fun <T> setDataList(tag: String?, datalist: List<T>?)