Interface DittoChangeListenerWithNextSignal
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A store observation listener is called whenever an active store observer receives a new query result.
Invoke
DittoSignalNext.signal() to signal that the listener is ready to receive the next callback from the
store observer.-
Method Summary
Modifier and TypeMethodDescriptionvoidonChange(@NonNull DittoQueryResult result, @NonNull DittoSignalNext signalNext)
-
Method Details
-
onChange
- Parameters:
result- ADittoQueryResultcontaining the items that have changed.signalNext- ADittoSignalNextused to tell Ditto this listener is ready to receive the next callback.
-