{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PinnableContainerKt

public final class PinnableContainerKt


Summary

Public methods

static final @NonNull ProvidableCompositionLocal<PinnableContainer>

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

Public methods

getLocalPinnableContainer

public static final @NonNull ProvidableCompositionLocal<PinnableContainergetLocalPinnableContainer()

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.