styleProperty

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

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

Parameters

initial

value of the property

filter

passed to View.styleChanged when it is called