LocalPinnableContainer

Property

Common
val LocalPinnableContainer = 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.