Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

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 since 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.

Back

OrderedRealmCollection

Next

OrderedRealmCollectionSnapshot