# RemoteMediator.MediatorResult.Success

Artifact: [androidx.paging:paging-common](https://developer.android.com/jetpack/androidx/releases/paging) [View Source](https://cs.android.com/search?q=file:androidx/paging/RemoteMediator.kt+class:androidx.paging.RemoteMediator.MediatorResult.Success) Added in [3.0.0](https://developer.android.com/jetpack/androidx/releases/paging#3.0.0)

*** ** * ** ***

Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  class RemoteMediator.MediatorResult.Success : RemoteMediator.MediatorResult
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.paging.RemoteMediator.MediatorResult](https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult) ||
|   | ↳ | [androidx.paging.RemoteMediator.MediatorResult.Success](https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult.Success) |

*** ** * ** ***

Success signaling that `https://developer.android.com/reference/kotlin/androidx/paging/LoadState` should be set to `https://developer.android.com/reference/kotlin/androidx/paging/LoadState.NotLoading` if `https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult.Success#endOfPaginationReached()` is `true`, otherwise `https://developer.android.com/reference/kotlin/androidx/paging/LoadState` is kept at `https://developer.android.com/reference/kotlin/androidx/paging/LoadState.Loading` to await invalidation.

NOTE: It is the responsibility of `https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator#load(androidx.paging.LoadType,androidx.paging.PagingState)` to update the backing dataset and trigger `https://developer.android.com/reference/kotlin/androidx/paging/PagingSource#invalidate()` to allow androidx.paging.PagingDataAdapter to pick up new items found by `https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator#load(androidx.paging.LoadType,androidx.paging.PagingState)`.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult.Success#Success(kotlin.Boolean)(endOfPaginationReached: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/paging/RemoteMediator.MediatorResult.Success#endOfPaginationReached()` | Cmn |

## Public constructors

### Success

Cmn Added in [3.0.0](https://developer.android.com/jetpack/androidx/releases/paging#3.0.0)

```
Success(endOfPaginationReached: Boolean)
```

## Public properties

### endOfPaginationReached

Cmn Added in [3.0.0](https://developer.android.com/jetpack/androidx/releases/paging#3.0.0)

```
val endOfPaginationReached: Boolean
```