DeferredResource

@Model class DeferredResource<T>
kotlin.Any
   ↳ androidx.ui.res.DeferredResource

A class used for the result of the asynchronous resource loading.

Summary

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

Resource<T>

Returns the resource.

Properties

resource

val resource: Resource<T>

Returns the resource.

The resource can be PendingResource, LoadedResource, or FailedResource.