LoadState.Error
public final class LoadState.Error extends LoadState
Loading hit an error.
| See also | |
|---|---|
retry |
|
Summary
Public fields |
|
|---|---|
final boolean |
|
final @NonNull Throwable |
|
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.
error
@NonNull
public final @NonNull Throwable error
Throwable that caused the load operation to generate this error state.