LoadState.Error


public final class LoadState.Error extends LoadState


Loading hit an error.

See also
PagedList

#retry

Summary

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull Throwable

Throwable that caused the load operation to generate this error state.

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

Error

Added in 3.0.0
public Error(@NonNull Throwable error)
Parameters
@NonNull Throwable error

Throwable that caused the load operation to generate this error state.

Public methods

equals

public boolean equals(Object other)

getError

Added in 3.0.0
public final @NonNull Throwable getError()

Throwable that caused the load operation to generate this error state.

hashCode

public int hashCode()

toString

public @NonNull String toString()