public interface EventListener<T>
|Modifier and Type||Method and Description|
onEvent will be called with the new value or the error if an error occurred.
void onEvent(@Nullable T value, @Nullable FirestoreException error)
value- The value of the event. null if there was an error.
error- The error if there was error. null otherwise.
Copyright © 2019 Google LLC. All rights reserved.