Android APIs
public static abstract class

Observable.OnPropertyChangedCallback

extends Object
java.lang.Object
   ↳ android.databinding.Observable.OnPropertyChangedCallback

Class Overview

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

Summary

Public Constructors
Observable.OnPropertyChangedCallback()
Public Methods
abstract void onPropertyChanged(Observable sender, int propertyId)
Called by an Observable whenever an observable property changes.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Observable.OnPropertyChangedCallback ()

Public 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.