Most visited

Recently visited

MapChangeRegistry

public class MapChangeRegistry
extends CallbackRegistry<OnMapChangedCallbackObservableMapObject>

java.lang.Object
   ↳ android.databinding.CallbackRegistry<android.databinding.ObservableMap.OnMapChangedCallbackandroid.databinding.ObservableMapjava.lang.Object>
     ↳ android.databinding.MapChangeRegistry


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

Summary

Public constructors

MapChangeRegistry()

Public methods

void notifyChange(ObservableMap sender, Object key)

通知已注册的回调:元素已被添加,删除或更改。

Inherited methods

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

Public constructors

MapChangeRegistry

MapChangeRegistry ()

Public methods

notifyChange

void notifyChange (ObservableMap sender, 
                Object key)

通知已注册的回调:元素已被添加,删除或更改。

Parameters
sender ObservableMap: The map that has changed.
key Object: The key of the element that changed.

Hooray!