public class MapChangeRegistry
extends CallbackRegistry<OnMapChangedCallback, ObservableMap, Object>
java.lang.Object | ||
↳ | android.databinding.CallbackRegistry<android.databinding.ObservableMap.OnMapChangedCallback, android.databinding.ObservableMap, java.lang.Object> | |
↳ | android.databinding.MapChangeRegistry |
用于管理ObservableMap回调的实用工具类。
Public constructors |
|
---|---|
MapChangeRegistry() |
Public methods |
|
---|---|
void |
notifyChange(ObservableMap sender, Object key) 通知已注册的回调:元素已被添加,删除或更改。 |
Inherited methods |
|
---|---|
From class android.databinding.CallbackRegistry
|
|
From class java.lang.Object
|
MapChangeRegistry ()
void notifyChange (ObservableMap sender, Object key)
通知已注册的回调:元素已被添加,删除或更改。
Parameters | |
---|---|
sender |
ObservableMap : The map that has changed. |
key |
Object : The key of the element that changed. |