Docs Menu

Interface MapChangeListener

MapChangeListener can be registered with a RealmMap to receive a notification with a MapChangeSet to describe the details of what have been changed in the map since last time.

Realm instances on a thread without an android.os.Looper cannot register a MapChangeListener .

Modifier and Type
Method and Description
public void

This will be called when the async query is finished the first time or the collection of objects has changed.

This will be called when the async query is finished the first time or the collection of objects has changed.

Parameters

  • map - the map this listener is registered to.

  • changes - object with information about the change.