Interface

AdaptStrategy

Provides the information about how the associated pane should be adapted if it cannot be displayed in its PaneAdaptedValue.Expanded state.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.0.0-alpha06

@ExperimentalMaterial3AdaptiveApi
interface AdaptStrategy

Provides the information about how the associated pane should be adapted if it cannot be displayed in its PaneAdaptedValue.Expanded state.

Functions

adapt

Added in 1.0.0-alpha06

fun adapt(): PaneAdaptedValue

Override this function to provide the resulted adapted state.