androidx.compose.material3.adaptive.layout
AdaptStrategyExperimental
Sealed interface · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0
No hand-written docs yet.
Provides the information about how the associated pane should be adapted if not all panes can be displayed in the PaneAdaptedValue.Expanded state.
sealed interface AdaptStrategy
Kinds of AdaptStrategy
Anywhere a AdaptStrategy is expected, you can pass any of these.
How to get one
Ready-made values and functions that return it
Or create one of the kinds listed above.
Used by
Parameters that take a AdaptStrategy.
ListDetailPaneScaffoldDefaults.adaptStrategies(detailPaneAdaptStrategy, listPaneAdaptStrategy, extraPaneAdaptStrategy)SupportingPaneScaffoldDefaults.adaptStrategies(mainPaneAdaptStrategy, supportingPaneAdaptStrategy, extraPaneAdaptStrategy)
Properties
Hide
val Hide: AdaptStrategy
The default AdaptStrategy that suggests the layout to hide the associated pane when it has to be adapted, i.e., cannot be displayed in its PaneAdaptedValue.Expanded state.
Nested types
Library docs
Provides the information about how the associated pane should be adapted if not all panes can be
displayed in the PaneAdaptedValue.Expanded state.