Most visited

Recently visited

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


用于管理Observable回调的实用工具类。

摘要(Summary)

Public constructors

PropertyChangeRegistry()

公共方法(Public methods)

void notifyChange(Observable observable, int propertyId)

通知已注册的回调特定属性已更改。

继承方法(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)

通知已注册的回调特定属性已更改。

参数(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.

Hooray!