protected abstract class

ViewDataBinding.PropertyChangedInverseListener

extends Observable.OnPropertyChangedCallback

implements InverseBindingListener

 java.lang.Object

androidx.databinding.Observable.OnPropertyChangedCallback

↳androidx.databinding.ViewDataBinding.PropertyChangedInverseListener

Overview

This class is used by generated subclasses of ViewDataBinding to listen for changes on variables of Bindings. This is important for two-way data binding on variables in included Bindings.

Summary

Constructors
publicPropertyChangedInverseListener(int propertyId)

Methods
public abstract voidonPropertyChanged(Observable sender, int propertyId)

Called by an Observable whenever an observable property changes.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public PropertyChangedInverseListener(int propertyId)

Methods

public abstract void onPropertyChanged(Observable sender, int propertyId)

Called by an Observable whenever an observable property changes.

Parameters:

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.