notifyPropertyChanged

open override fun notifyPropertyChanged(property: KProperty<*>)

Notifies a specific property has changed that matches in PropertyChangeRegistry. This function receives a property and if there is a change notification of any of the listed properties, this value will be refreshed.

Parameters

property

A property that should be changed.

open override fun notifyPropertyChanged(function: KFunction<*>)

Notifies a specific property has changed that matches in PropertyChangeRegistry. This function receives a androidx.databinding.Bindable function and if there is a change notification of any of the listed properties, this value will be refreshed.

Parameters

function

A androidx.databinding.Bindable function that should be changed.

open override fun notifyPropertyChanged(bindingId: Int)

Notifies a specific property has changed that matches in PropertyChangeRegistry. This function receives a data-binding id depending on its property name and if there is a change notification of any of the listed properties, this value will be refreshed.

Parameters

bindingId

A specific data-binding id (generated BR id) that should be changed.