public interface OrderedRealmCollectionChangeListener<T>
OrderedRealmCollectionChangeListenercan be registered with a
RealmResultsto receive a notification with a
OrderedCollectionChangeSetto describe the details of what have been changed in the collection from last time.
Realm instances on a thread without an
Looper cannot register a
|Modifier and Type||Method and Description|
This will be called when the async query is finished the first time or the collection of objects has changed.
void onChange(T t, OrderedCollectionChangeSet changeSet)
t- the collection this listener is registered to.
changeSet- object with information about which rows in the collection were added, removed or modified.
nullis returned the first time an async query is completed.