Package io.realm
Interface OrderedRealmCollectionChangeListener<T>
-
public interface OrderedRealmCollectionChangeListener<T>OrderedRealmCollectionChangeListenercan be registered with aRealmResultsto receive a notification with aOrderedCollectionChangeSetto describe the details of what have been changed in the collection since last time.Realm instances on a thread without an
Loopercannot register aOrderedRealmCollectionChangeListener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChange(T t, OrderedCollectionChangeSet changeSet)This will be called when the async query is finished the first time or the collection of objects has changed.
-
-
-
Method Detail
-
onChange
void onChange(T t, OrderedCollectionChangeSet changeSet)
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.
-
-