bindingProperty

fun <T> bindingProperty(defaultValue: T): BindingPropertyIdWithDefaultValue<T>

Author

skydoves (Jaewoong Eum)

A property for notifying a specific has changed that matches in PropertyChangeRegistry. The getter for the property that changes should be marked with androidx.databinding.Bindable.

Return

A delegation property BindingPropertyIdWithDefaultValue.

Parameters

defaultValue

A default value should be initialized.