CSStoreContext
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun nullDoubleProperty(key: String, default: Double? = null, onChange: (value: Double?) -> Unit? = null): CSStoreProperty<Double?>
Link copied to clipboard
abstract fun nullFloatProperty(key: String, default: Float? = null, onChange: (value: Float?) -> Unit? = null): CSStoreProperty<Float?>
Link copied to clipboard
abstract fun nullIntProperty(key: String, default: Int? = null, onChange: (value: Int?) -> Unit? = null): CSStoreProperty<Int?>
Link copied to clipboard
abstract fun <T> nullListItemProperty(key: String, values: List<T>, default: T? = null, onChange: (value: T?) -> Unit? = null): CSStoreProperty<T?>
Link copied to clipboard
abstract fun nullStringProperty(key: String, default: String? = null, onChange: (value: String?) -> Unit? = null): CSStoreProperty<String?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun property(key: String, default: Boolean, onChange: ArgFun<Boolean>? = null): CSStoreProperty<Boolean>
abstract fun property(key: String, default: Float, onChange: ArgFun<Float>? = null): CSStoreProperty<Float>
abstract fun property(key: String, default: () -> Int, onChange: ArgFun<Int>? = null): CSStoreProperty<Int>
abstract fun property(key: String, default: Int, onChange: ArgFun<Int>? = null): CSStoreProperty<Int>
abstract fun property(key: String, default: String, onChange: ArgFun<String>? = null): CSStoreProperty<String>
abstract fun property(key: String, default: List<Int>, onChange: ArgFun<List<Int>>? = null): CSStoreProperty<List<Int>>
abstract fun <T> property(key: String, values: () -> Collection<T>, default: () -> T, onChange: ArgFun<T>? = null): CSStoreProperty<T>
Link copied to clipboard
inline fun <T : Enum<T>> CSStoreContext.property(key: String, default: T, noinline onChange: ArgFun<T>? = null): CSStoreProperty<T>
fun <T> CSStoreContext.property(key: String, getValues: () -> List<T>, default: T, onChange: ArgFun<T>? = null): CSStoreProperty<T>
fun <T> CSStoreContext.property(key: String, getValues: () -> List<T>, defaultIndex: Int = 0, onChange: ArgFun<T>? = null): CSStoreProperty<T>
fun <T> CSStoreContext.property(key: String, values: List<T>, default: T, onChange: ArgFun<T>? = null): CSStoreProperty<T>