LocalResources

Property

Android
val LocalResources =
compositionLocalWithComputedDefaultOf<Resources> {
    LocalConfiguration.currentValue
    LocalContext.currentValue.resources
}

The Android Resources. This will be updated when LocalConfiguration changes, to ensure that calls to APIs such as Resources.getString return updated values.