public abstract class

Observable.OnPropertyChangedCallback

extends java.lang.Object

 java.lang.Object

↳androidx.databinding.Observable.OnPropertyChangedCallback

Subclasses:

ViewDataBinding.PropertyChangedInverseListener

Overview

The callback that is called by Observable when an observable property has changed.

Summary

Constructors
publicOnPropertyChangedCallback()

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 OnPropertyChangedCallback()

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.