Docs Menu

Interface OrderedRealmCollectionChangeListener

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 .

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.

← 
 →