LoadState.NotLoading

public final class LoadState.NotLoading extends LoadState


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

Inherited methods

From androidx.paging.LoadState
final boolean

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

Public constructors

NotLoading

Added in 3.0.0
public 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()