Package renetik.android.store.extensions

Types

Link copied to clipboard
object CSStore

Functions

Link copied to clipboard
fun CSStore.lateBoolProperty(key: String, onChange: ArgFunc<Boolean>? = null): CSLateStoreProperty<Boolean>
Link copied to clipboard
fun CSStore.lateIntProperty(key: String, onChange: ArgFunc<Int>? = null): CSLateStoreProperty<Int>
Link copied to clipboard
inline fun <T : CSJsonObjectStore> CSStore.lateJsonListListProperty(key: String, noinline onChange: ArgFunc<List<List<T>>>? = null): CSLateStoreProperty<List<List<T>>>
fun <T : CSJsonObjectStore> CSStore.lateJsonListListProperty(    key: String,     listType: KClass<T>,     onChange: ArgFunc<List<List<T>>>? = null): CSLateStoreProperty<List<List<T>>>
Link copied to clipboard
inline fun <T : CSJsonObjectStore> CSStore.lateJsonListProperty(key: String, noinline onChange: ArgFunc<List<T>>? = null): CSLateStoreProperty<List<T>>
fun <T : CSJsonObjectStore> CSStore.lateJsonListProperty(    key: String,     listType: KClass<T>,     onChange: ArgFunc<List<T>>? = null): CSLateStoreProperty<List<T>>
Link copied to clipboard
inline fun <T : CSJsonObjectStore> CSStore.lateJsonProperty(key: String, noinline onChange: ArgFunc<T>? = null): CSLateStoreProperty<T>
fun <T : CSJsonObjectStore> CSStore.lateJsonProperty(    key: String,     listType: KClass<T>,     onChange: ArgFunc<T>? = null): CSLateStoreProperty<T>
Link copied to clipboard
fun <T> CSStore.lateListItemProperty(    key: String,     values: Array<T>,     onChange: ArgFunc<T>? = null): CSLateStoreProperty<T>
fun <T> CSStore.lateListItemProperty(    key: String,     values: Iterable<T>,     onChange: ArgFunc<T>? = null): CSLateStoreProperty<T>
Link copied to clipboard
fun CSStore.lateStringProperty(key: String, onChange: ArgFunc<String>? = null): CSLateStoreProperty<String>
Link copied to clipboard
fun <T : CSStore> T.load(json: String): T
fun <T : CSStore> T.load(store: CSStore): T
Link copied to clipboard
fun SharedPreferences.Editor.loadAll(data: Map<String, Any?>)
fun SharedPreferences.Editor.loadAll(store: CSStore)
Link copied to clipboard
fun CSStore.nullBoolProperty(    key: String,     default: Boolean? = null,     onChange: ArgFunc<Boolean?>? = null): CSStoreProperty<Boolean?>
Link copied to clipboard
fun CSStore.nullFloatProperty(    key: String,     default: Float? = null,     onChange: ArgFunc<Float?>? = null): CSStoreProperty<Float?>
Link copied to clipboard
fun CSStore.nullIntProperty(    key: String,     default: Int? = null,     onChange: ArgFunc<Int?>? = null): CSStoreProperty<Int?>
Link copied to clipboard
fun <T : CSJsonObjectStore> CSStore.nullJsonProperty(    key: String,     default: T? = null,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
Link copied to clipboard
fun <T> CSStore.nullListItemProperty(    key: String,     array: Array<T>,     default: T? = null,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     array: Array<T>,     defaultIndex: Int,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     getValues: () -> List<T>,     getDefault: () -> T?,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     getList: () -> List<T>,     defaultIndex: Int,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     list: List<T>,     default: T? = null,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     values: List<T>,     getDefault: () -> T?,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
fun <T> CSStore.nullListItemProperty(    key: String,     list: List<T>,     defaultIndex: Int,     onChange: ArgFunc<T?>? = null): CSStoreProperty<T?>
Link copied to clipboard
fun CSStore.nullStringProperty(    key: String,     default: String? = null,     onChange: ArgFunc<String?>? = null): CSStoreProperty<String?>
Link copied to clipboard
inline fun <T : CSJsonObjectStore> CSStore.property(key: String, noinline onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun CSHasDestroy.property(    key: String,     default: Boolean,     onChange: ArgFunc<Boolean>? = null): CSStoreProperty<Boolean>
fun CSHasDestroy.property(    key: String,     default: Float,     onChange: ArgFunc<Float>? = null): CSStoreProperty<Float>
fun CSHasDestroy.property(    key: String,     default: Int,     onChange: ArgFunc<Int>? = null): CSStoreProperty<Int>
fun CSHasDestroy.property(    key: String,     default: Long,     onChange: ArgFunc<Long>? = null): CSStoreProperty<Long>
fun CSHasDestroy.property(    key: String,     default: String,     onChange: ArgFunc<String>? = null): CSStoreProperty<String>
fun <T : CSJsonObjectStore> CSStore.property(    key: String,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun CSStore.property(    key: String,     default: Boolean,     onChange: ArgFunc<Boolean>? = null): CSStoreProperty<Boolean>
fun CSStore.property(    key: String,     default: Double,     onChange: ArgFunc<Double>? = null): CSStoreProperty<Double>
fun CSStore.property(    key: String,     default: Float,     onChange: ArgFunc<Float>? = null): CSStoreProperty<Float>
fun CSStore.property(    key: String,     default: Int,     onChange: ArgFunc<Int>? = null): CSStoreProperty<Int>
fun CSStore.property(    key: String,     default: Long,     onChange: ArgFunc<Long>? = null): CSStoreProperty<Long>
fun CSStore.property(    key: String,     default: String,     onChange: ArgFunc<String>? = null): CSStoreProperty<String>
inline fun <T : CSJsonObjectStore> CSStore.property(    key: String,     default: List<T>,     noinline onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
@JvmName(name = "propertyMutableList")
inline fun <T : CSJsonObjectStore> CSStore.property(    key: String,     default: MutableList<T>,     noinline onChange: ArgFunc<MutableList<T>>? = null): CSStoreProperty<MutableList<T>>
fun <T : CSJsonObjectStore> CSStore.property(    key: String,     type: KClass<T>,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
inline fun <T : CSJsonObjectStore> CSStore.property(    parent: CSHasDestroy,     key: String,     noinline onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSHasDestroy.property(    key: String,     values: Array<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSHasDestroy.property(    key: String,     values: Array<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSHasDestroy.property(    key: String,     values: List<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSHasDestroy.property(    key: String,     values: List<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     array: Array<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     array: Array<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T : CSHasId> CSStore.property(    key: String,     array: Array<T>,     default: List<T>,     onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
fun <T> CSStore.property(    key: String,     getValues: () -> List<T>,     getDefault: () -> T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     getList: () -> List<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     list: List<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     values: List<T>,     getDefault: () -> T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    key: String,     list: List<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T : CSHasId> CSStore.property(    key: String,     values: List<T>,     default: List<T>,     onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
fun <T : CSJsonObjectStore> CSStore.property(    parent: CSHasDestroy,     key: String,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: Boolean,     onChange: ArgFunc<Boolean>? = null): CSStoreProperty<Boolean>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: Double,     onChange: ArgFunc<Double>? = null): CSStoreProperty<Double>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: Float,     onChange: ArgFunc<Float>? = null): CSStoreProperty<Float>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: Int,     onChange: ArgFunc<Int>? = null): CSStoreProperty<Int>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: Long,     onChange: ArgFunc<Long>? = null): CSStoreProperty<Long>
fun CSStore.property(    parent: CSHasDestroy,     key: String,     default: String,     onChange: ArgFunc<String>? = null): CSStoreProperty<String>
inline fun <T : CSJsonObjectStore> CSStore.property(    parent: CSHasDestroy,     key: String,     default: List<T>,     noinline onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
@JvmName(name = "propertyMutableList")
inline fun <T : CSJsonObjectStore> CSStore.property(    parent: CSHasDestroy,     key: String,     default: MutableList<T>,     noinline onChange: ArgFunc<MutableList<T>>? = null): CSStoreProperty<MutableList<T>>
fun <T : CSJsonObjectStore> CSStore.property(    parent: CSHasDestroy,     key: String,     type: KClass<T>,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     array: Array<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     array: Array<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T : CSHasId> CSStore.property(    parent: CSHasDestroy,     key: String,     array: Array<T>,     default: List<T>,     onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     getValues: () -> List<T>,     getDefault: () -> T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     getList: () -> List<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     list: List<T>,     default: T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     values: List<T>,     getDefault: () -> T,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T> CSStore.property(    parent: CSHasDestroy,     key: String,     list: List<T>,     defaultIndex: Int,     onChange: ArgFunc<T>? = null): CSStoreProperty<T>
fun <T : CSHasId> CSStore.property(    parent: CSHasDestroy,     key: String,     values: List<T>,     default: List<T>,     onChange: ArgFunc<List<T>>? = null): CSStoreProperty<List<T>>
Link copied to clipboard
fun <T : CSStore> T.reload(json: String): T
fun <T : CSStore> T.reload(store: CSStore): T
Link copied to clipboard
fun <T> CSHasDestroy.synchronizedProperty(value: T, onChange: (value: T) -> Unit? = null): CSSynchronizedProperty<T>
fun <T> CSHasDestroy.synchronizedProperty(property: CSProperty<T>, onChange: (value: T) -> Unit? = null): CSSynchronizedProperty<T>