Property

LocalContext

Context of application when generating the glance view.

Source set: Android
public val LocalContext: ProvidableCompositionLocal<Context> =
    staticCompositionLocalOf<Context> { error("No default context") }

Context of application when generating the glance view.

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: