Google 致力于为黑人社区推动种族平等。查看具体举措


abstract class CompositionReference
   ↳ androidx.compose.runtime.CompositionReference

A CompositionReference is an opaque type that is used to logically "link" two compositions together. The CompositionReference instance represents a reference to the "parent" composition in a specific position of that composition's tree, and the instance can then be given to a new "child" composition. This reference ensures that invalidations and ambients flow logically through the two compositions as if they were not separate.

The "parent" of a root composition is a Recomposer.