Package io.realm
Interface OrderedRealmCollectionChangeListener<T>
-
public interface OrderedRealmCollectionChangeListener<T>
OrderedRealmCollectionChangeListener
can be registered with aRealmResults
to receive a notification with aOrderedCollectionChangeSet
to describe the details of what have been changed in the collection since last time.Realm instances on a thread without an
Looper
cannot register aOrderedRealmCollectionChangeListener
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-