Package com.example.breeze_seas
Interface EventCommentsDB.CommentsUpdatedCallback
- Enclosing class:
EventCommentsDB
public static interface EventCommentsDB.CommentsUpdatedCallback
Callback used when the current event's comments change in realtime.
-
Method Summary
Modifier and TypeMethodDescriptionvoidReports a realtime-listener failure.voidonUpdated(List<EventComment> comments) Returns the latest ordered comments for the current event.
-
Method Details
-
onUpdated
Returns the latest ordered comments for the current event.- Parameters:
comments- Latest comments snapshot for the active event.
-
onFailure
Reports a realtime-listener failure.- Parameters:
e- Firestore failure encountered while listening.
-