Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

PropertyChangeRegistry

public class PropertyChangeRegistry
extends CallbackRegistry<Observable.OnPropertyChangedCallbackObservableVoid>

java.lang.Object
   ↳ android.databinding.CallbackRegistry<android.databinding.Observable.OnPropertyChangedCallbackandroid.databinding.Observablejava.lang.Void>
     ↳ android.databinding.PropertyChangeRegistry


Utility class for managing Observable callbacks.

Summary

Public constructors

PropertyChangeRegistry()

Public methods

void notifyChange(Observable observable, int propertyId)

Notifies registered callbacks that a specific property has changed.

Inherited methods

From class android.databinding.CallbackRegistry
From class java.lang.Object

Public constructors

PropertyChangeRegistry

PropertyChangeRegistry ()

Public methods

notifyChange

void notifyChange (Observable observable, 
                int propertyId)

Notifies registered callbacks that a specific property has changed.

Parameters
observable Observable: The Observable that has changed.

propertyId int: The BR id of the property that has changed or BR._all if the entire Observable has changed.