Google is committed to advancing racial equity for Black communities. See how.

MediatorResult

sealed class MediatorResult
kotlin.Any
   ↳ androidx.paging.RemoteMediator.MediatorResult

Return type of load, which determines LoadState.

Summary

Nested classes

Recoverable error that can be retried, sets the LoadState to LoadState.Error.

Success signaling that LoadState should be set to LoadState.NotLoading if endOfPaginationReached is true, otherwise LoadState is kept at LoadState.Loading to await invalidation.