android.databinding
Class Observable.OnPropertyChangedCallback

java.lang.Object
  extended by android.databinding.Observable.OnPropertyChangedCallback
Enclosing interface:
Observable

public abstract static class Observable.OnPropertyChangedCallback
extends java.lang.Object

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


Constructor Summary
Observable.OnPropertyChangedCallback()
           
 
Method Summary
abstract  void onPropertyChanged(Observable sender, int propertyId)
          Called by an Observable whenever an observable property changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Observable.OnPropertyChangedCallback

public Observable.OnPropertyChangedCallback()
Method Detail

onPropertyChanged

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.