InitializeAction
Kotlin
|Java
enum class InitializeAction
kotlin.Any | ||
↳ | kotlin.Enum<androidx.paging.RemoteMediator.InitializeAction> | |
↳ | androidx.paging.RemoteMediator.InitializeAction |
Return type of initialize, which signals the action to take after initialize completes.
Summary
Enum values | |
---|---|
Immediately dispatch a load asynchronously with load type REFRESH, to update paginated content when the stream is initialized. |
|
Wait for a refresh request from the UI before dispatching load with load type REFRESH |
Enum values
LAUNCH_INITIAL_REFRESH
enum val LAUNCH_INITIAL_REFRESH : RemoteMediator.InitializeAction
Immediately dispatch a load asynchronously with load type REFRESH, to update paginated content when the stream is initialized.
SKIP_INITIAL_REFRESH
enum val SKIP_INITIAL_REFRESH : RemoteMediator.InitializeAction
Wait for a refresh request from the UI before dispatching load with load type REFRESH