FailedResource
Kotlin
|Java
class FailedResource<T> : Resource<T>
kotlin.Any | ||
↳ | androidx.compose.ui.res.Resource<T> | |
↳ | androidx.compose.ui.res.FailedResource |
A class represents the alternative resource due to failed to load the requested resource.
Summary
Public constructors | |
---|---|
A class represents the alternative resource due to failed to load the requested resource. |
Properties | |
---|---|
Throwable? |
the reason of the failure. |
Inherited properties | |
---|---|
Public constructors
<init>
FailedResource(
resource: T?,
throwable: Throwable?)
A class represents the alternative resource due to failed to load the requested resource.
Parameters | |
---|---|
throwable: Throwable? | the reason of the failure. |