{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

RemoteMediator.MediatorResult.Success

class RemoteMediator.MediatorResult.Success : RemoteMediator.MediatorResult

kotlin.Any
   ↳ 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(endOfPaginationReached: Boolean)

Public properties

Boolean

Public constructors

Success

Success(endOfPaginationReached: Boolean)

Public properties

endOfPaginationReached

val endOfPaginationReachedBoolean