Binding Model
Author
skydoves (Jaewoong Eum)
A model class that provides a way in which UI can be notified of changes. We can register an observable property using androidx.databinding.Bindable annotation and bindingProperty delegates. The getter for an observable property should be annotated with androidx.databinding.Bindable.
Constructors
BindingModel
Link copied to clipboard
fun BindingModel()
Content copied to clipboard
Functions
addOnPropertyChangedCallback
Link copied to clipboard
open override fun addOnPropertyChangedCallback(callback: Observable.OnPropertyChangedCallback?)
Content copied to clipboard
notifyChanged
Link copied to clipboard
open override fun notifyChanged()
Content copied to clipboard
notifyPropertyChanged
Link copied to clipboard
removeOnPropertyChangedCallback
Link copied to clipboard
open override fun removeOnPropertyChangedCallback(callback: Observable.OnPropertyChangedCallback?)
Content copied to clipboard