RemoteMediator.MediatorResult.Success
public final class RemoteMediator.MediatorResult.Success extends RemoteMediator.MediatorResult
| java.lang.Object | ||
| ↳ | androidx.paging.RemoteMediator.MediatorResult | |
| ↳ | androidx.paging.RemoteMediator.MediatorResult.Success |
Success signaling that LoadState should be set to LoadState.NotLoading if endOfPaginationReached is true, otherwise LoadState is kept at LoadState.Loading to await invalidation.
NOTE: It is the responsibility of load to update the backing dataset and trigger PagingSource.invalidate to allow androidx.paging.PagingDataAdapter to pick up new items found by load.
Summary
Public constructors |
|---|
Success(boolean endOfPaginationReached) |
Public methods |
|
|---|---|
final boolean |