LoadState.NotLoading

public final class LoadState.NotLoading extends LoadState

Object
   ↳ LoadState
     ↳ LoadState.NotLoading

Indicates the PagingData is not currently loading, and no error currently observed.

Summary

Public constructors

NotLoading(boolean endOfPaginationReached)

Public methods

boolean
equals(Object other)
int
@NonNull String

Public constructors

NotLoading

public final NotLoading(boolean endOfPaginationReached)
Parameters
boolean endOfPaginationReached

false if there is more data to load in the LoadType this LoadState is associated with, true otherwise. This parameter informs Pager if it should continue to make requests for additional data in this direction or if it should halt as the end of the dataset has been reached.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()