Companion

object Companion

Functions

Link copied to clipboard
fun <T> observableStyleProperty(initial: T, filter: (View) -> Boolean = { true }, onChanged: (old: T, new: T) -> Unit = { _,_ -> }): ReadWriteProperty<View, T>

Delegate for properties that should trigger View.styleChanged when changed.

Link copied to clipboard
fun <T> styleProperty(initial: T, filter: (View) -> Boolean = { true }): ReadWriteProperty<View, T>

Delegate for properties that should trigger View.styleChanged when changed.