Property

LocalPinnableContainer

Use this composition local to get the PinnableContainer handling the current subhierarchy.

Source set: Common
public val LocalPinnableContainer:
    androidx.compose.runtime.ProvidableCompositionLocal<PinnableContainer?> =
    compositionLocalOf<PinnableContainer?> { null }

Use this composition local to get the PinnableContainer handling the current subhierarchy.

It will be not null, for example, when the current content is composed as an item of lazy list.

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: