Interface UserController.UserListCallback
- Enclosing class:
- UserController
public static interface UserController.UserListCallback
Callback interface for fetching a list of users from the Firestore database.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback which contains an error messagevoid
onUsersFetched
(ArrayList<User> users) Callback which contains a list of User objects
-
Method Details
-
onUsersFetched
Callback which contains a list of User objects- Parameters:
users
- List of users
-
onError
Callback which contains an error message- Parameters:
message
- description of the error
-