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

ProvidedValue

class ProvidedValue<T>
kotlin.Any
   ↳ androidx.compose.ProvidedValue

An instance to hold a value provided by Providers and is created by the ProvidableAmbient.provides infixed operator.

Summary

Properties

Ambient<T>

T

Properties

ambient

val ambient: Ambient<T>

value

val value: T