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

Success

class 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
<init>(endOfPaginationReached: Boolean)

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

Properties
Boolean

Public constructors

<init>

Success(endOfPaginationReached: Boolean)

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.

Properties

endOfPaginationReached

val endOfPaginationReached: Boolean