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

Resource

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

The base resource class for background 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

T?

the resource

Properties

resource

val resource: T?

the resource