protected abstract static class ViewDataBinding.PropertyChangedInverseListener extends Observable.OnPropertyChangedCallback implements InverseBindingListener
ViewDataBinding
to listen for
changes on variables of Bindings. This is important for two-way data binding on variables
in included Bindings.Constructor and Description |
---|
PropertyChangedInverseListener(int propertyId) |
Modifier and Type | Method and Description |
---|---|
void |
onPropertyChanged(Observable sender,
int propertyId)
Called by an Observable whenever an observable property changes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onChange
public PropertyChangedInverseListener(int propertyId)
public void onPropertyChanged(Observable sender, int propertyId)
Observable.OnPropertyChangedCallback
onPropertyChanged
in class Observable.OnPropertyChangedCallback
sender
- The Observable that is changing.propertyId
- The BR identifier of the property that has changed. The getter
for this property should be annotated with Bindable
.