Most visited

Recently visited

ObservableMap.OnMapChangedCallback

public static abstract class ObservableMap.OnMapChangedCallback
extends Object

java.lang.Object
   ↳ android.databinding.ObservableMap.OnMapChangedCallback<T extends android.databinding.ObservableMap<K, V>, K, V>


ObservableMap更改时接收通知的回调。

Summary

Public constructors

ObservableMap.OnMapChangedCallback()

Public methods

abstract void onMapChanged(T sender, K key)

每当ObservableMap发生变化时调用,包括插入,删除和更改的值。

Inherited methods

From class java.lang.Object

Public constructors

ObservableMap.OnMapChangedCallback

ObservableMap.OnMapChangedCallback ()

Public methods

onMapChanged

void onMapChanged (T sender, 
                K key)

每当ObservableMap发生变化时调用,包括插入,删除和更改的值。

Parameters
sender T: The changing map.
key K: The key of the value inserted, removed, or changed.

Hooray!