Docs Menu

Interface OrderedRealmCollectionChangeListener

On this page

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

OrderedRealmCollectionChangeListener can be registered with a RealmResults to receive a notification with a OrderedCollectionChangeSet to describe the details of what have been changed in the collection from last time.

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

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.

public void onChange (
)

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

Parameters

  • t - the collection this listener is registered to.
  • changeSet - object with information about the change.
←  Interface OrderedRealmCollectionClass OrderedRealmCollectionSnapshot →
Give Feedback
© 2022 MongoDB, Inc.

About

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