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!