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

RemoteMediator.MediatorResult.Success

{% setvar page_path %}androidx/paging/RemoteMediator.MediatorResult.Success.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

class RemoteMediator.MediatorResult.Success : RemoteMediator.MediatorResult

Any
   ↳ RemoteMediator.MediatorResult
     ↳ 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 properties

Boolean

Public constructors

Success(endOfPaginationReached: Boolean)

Public properties

endOfPaginationReached

val endOfPaginationReachedBoolean

Public constructors

Success

Success(endOfPaginationReached: Boolean)