The Developer Preview for Android 11 is now available; test it out and share your feedback.

PendingResource

class PendingResource<T> : Resource<T>
kotlin.Any
   ↳ androidx.ui.res.Resource<T>
   ↳ androidx.ui.res.PendingResource

A class represents the alternative resource due to background loading.

Summary

Public constructors

<init>(resource: T?)

A class represents the alternative resource due to background loading.

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.

Inherited properties

Public constructors

<init>

PendingResource(resource: T?)

A class represents the alternative resource due to background loading.