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 fields

final boolean

false if there is more data to load in the LoadType this LoadState is associated with, true otherwise.

Public constructors

NotLoading(boolean endOfPaginationReached)

Public methods

boolean
int
@NonNull String

Public fields

endOfPaginationReached

@NonNull
public final 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 constructors

NotLoading

@NonNull
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

@NonNull
public boolean equals(@Nullable Object other)

hashCode

@NonNull
public int hashCode()

toString

@NonNull
public String toString()