Binding View Model
Author
skydoves (Jaewoong Eum)
A ViewModel 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
BindingViewModel
Link copied to clipboard
fun BindingViewModel()
Content copied to clipboard
Functions
addOnPropertyChangedCallback
Link copied to clipboard
open override fun addOnPropertyChangedCallback(callback: Observable.OnPropertyChangedCallback?)
Content copied to clipboard
clear
Link 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
setTagIfAbsent
Link copied to clipboard