Function

materializeWithCompositionLocalInjection

This function exists solely for solving a backwards-incompatibility with older compilations that used an older version of the Layout composable.

materializeWithCompositionLocalInjection

Source set: Common
@Deprecated(
    "Kept for backwards compatibility only. If you are recompiling, use materialize.",
    ReplaceWith("materialize"),
    DeprecationLevel.HIDDEN,
)
public fun Composer.materializeWithCompositionLocalInjection(modifier: Modifier): Modifier

This function exists solely for solving a backwards-incompatibility with older compilations that used an older version of the Layout composable. New code paths should not call this. More details can be found at https://issuetracker.google.com/275067189

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: