Object

ListDetailPaneScaffoldRole

The set of the available pane roles of ListDetailPaneScaffold.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
object ListDetailPaneScaffoldRole

The set of the available pane roles of ListDetailPaneScaffold. Those roles map to their corresponding ThreePaneScaffoldRole, which is a generic role definition across all types of three pane scaffolds. We suggest you to use the values defined here instead of the raw ThreePaneScaffoldRole under the context of ListDetailPaneScaffold for better code clarity.

Properties

Common
val List = ThreePaneScaffoldRole.Secondary

The list pane of ListDetailPaneScaffold, which is supposed to hold a list of item summaries that can be selected from, for example, the inbox mail list of a mail app. It maps to ThreePaneScaffoldRole.Secondary.

Common
val Detail = ThreePaneScaffoldRole.Primary

The detail pane of ListDetailPaneScaffold, which is supposed to hold the detailed info of a selected item, for example, the mail content currently being viewed. It maps to ThreePaneScaffoldRole.Primary.

Common
val Extra = ThreePaneScaffoldRole.Tertiary

The extra pane of ListDetailPaneScaffold, which is supposed to hold any supplementary info besides the list and the detail panes, for example, a task list or a mini-calendar view of a mail app. It maps to ThreePaneScaffoldRole.Tertiary.