Google 致力于为黑人社区推动种族平等。查看具体举措

MapChangeRegistry

public class MapChangeRegistry
extends CallbackRegistry<OnMapChangedCallbackObservableMapObject>

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


Utility class for managing ObservableMap callbacks.

Summary

Public constructors

MapChangeRegistry()

Public methods

void notifyChange(ObservableMap sender, Object key)

Notifies registered callbacks that an element has been added, removed, or changed.

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)

Notifies registered callbacks that an element has been added, removed, or changed.

Parameters
sender ObservableMap: The map that has changed.

key Object: The key of the element that changed.