Docs Menu

Interface MapChangeListener

On this page

  • io.realm
  • Method Summary
  • Method Detail
  • onChange

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 .

Tip
See also:
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.
←  Enum ImportFlagInterface MapChangeSet →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.