Most visited

Recently visited

Observable.OnPropertyChangedCallback

public static abstract class Observable.OnPropertyChangedCallback
extends Object

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


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.

Inherited methods

From class java.lang.Object

Public constructors

Observable.OnPropertyChangedCallback

Observable.OnPropertyChangedCallback ()

Public methods

onPropertyChanged

void onPropertyChanged (Observable sender, 
                int propertyId)

Called by an Observable whenever an observable property changes.

Parameters
sender Observable: The Observable that is changing.
propertyId int: The BR identifier of the property that has changed. The getter for this property should be annotated with Bindable.

Hooray!