Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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>


A callback receiving notifications when an ObservableMap changes.

Summary

Public constructors

ObservableMap.OnMapChangedCallback()

Public methods

abstract void onMapChanged(T sender, K key)

Called whenever an ObservableMap changes, including values inserted, deleted, and changed.

Inherited methods

From class java.lang.Object

Public constructors

ObservableMap.OnMapChangedCallback

ObservableMap.OnMapChangedCallback ()

Public methods

onMapChanged

void onMapChanged (T sender, 
                K key)

Called whenever an ObservableMap changes, including values inserted, deleted, and changed.

Parameters
sender T: The changing map.

key K: The key of the value inserted, removed, or changed.