Property

LocalConfiguration

The Android Configuration.

Source set: Android
public val LocalConfiguration: ProvidableCompositionLocal<Configuration> =
    if (ComposeUiFlags.isMinimalistLocalsEnabled) {
        compositionLocalWithComputedDefaultOf { LocalContext.currentValue.resources.configuration }
    } else {
        compositionLocalOf { noLocalProvidedFor("LocalConfiguration") }
    }

The Android Configuration. The Configuration is useful for determining how to organize the UI.

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: