LoadErrorFallbackConfig
sealed interface LoadErrorFallbackConfig : Parcelable
Defines the conditions for falling back to a different resource when encountering a load error.
Inheritors
| HttpStatusCode |
| Custom |
Types
| Name | Summary |
|---|---|
| Custom | data class Custom(val callback: (IOException) -> Boolean) : LoadErrorFallbackConfig A fallback config based on a custom implementation. |
| HttpStatusCode | data class HttpStatusCode(val statusCodes: List<Int>) : LoadErrorFallbackConfig A fallback config based on HTTP status codes. |