Enum LoadingState

    • Enum Constant Detail

      • LOADING_INITIAL

        public static final LoadingState LOADING_INITIAL
        Loading initial data.
      • LOADING_MORE

        public static final LoadingState LOADING_MORE
        Loading a page other than the first page.
      • LOADED

        public static final LoadingState LOADED
        Not currently loading any pages, at least one page loaded.
      • FINISHED

        public static final LoadingState FINISHED
        The last page loaded had zero documents, and therefore no further pages will be loaded.
      • ERROR

        public static final LoadingState ERROR
        The most recent load encountered an error.
    • Method Detail

      • values

        public static LoadingState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LoadingState c : LoadingState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoadingState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null