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 Type
    Method
    Description
    void
    onError(String message)
    Callback which contains an error message
    void
    Callback which contains a list of User objects
  • Method Details

    • onUsersFetched

      void onUsersFetched(ArrayList<User> users)
      Callback which contains a list of User objects
      Parameters:
      users - List of users
    • onError

      void onError(String message)
      Callback which contains an error message
      Parameters:
      message - description of the error