DataStore

Properties

Link copied to clipboard
val mapper: JsonMapper

Functions

Link copied to clipboard
Link copied to clipboard
fun editor(context: Context, isEditingAppSettings: Boolean = false): Editor
Link copied to clipboard
fun getFolderName(folder: String, path: String): String
Link copied to clipboard
inline fun <T : Any> Context.getKey(path: String): T?
inline fun <T : Any> Context.getKey(path: String, defVal: T?): T?
fun <T> Context.getKey(path: String, valueType: Class<T>): T?
inline fun <T : Any> Context.getKey(folder: String, path: String): T?
inline fun <T : Any> Context.getKey(folder: String, path: String, defVal: T?): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Context.removeKey(folder: String, path: String)
Link copied to clipboard
Link copied to clipboard
fun <T> Context.setKey(path: String, value: T)
fun <T> Context.setKey(folder: String, path: String, value: T)
Link copied to clipboard
inline fun <T : Any> String.toKotlinObject(): T
fun <T> String.toKotlinObject(valueType: Class<T>): T