SpatialListDetailPaneScaffold
Source set: Android
@Composable
public fun SpatialListDetailPaneScaffold(
listPane: @Composable @SubspaceComposable SpatialBoxScope.() -> Unit,
detailPane: @Composable @SubspaceComposable SpatialBoxScope.() -> Unit,
modifier: SubspaceModifier = SubspaceModifier,
horizontalArrangement: SpatialArrangement.Horizontal =
XrThreePaneScaffoldTokens.DefaultArrangement,
extraPane: (@Composable @SubspaceComposable SpatialBoxScope.() -> Unit)? = null,
)
Parameters
| listPane | the list pane of the scaffold, 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. Note that we suggest you to use SpatialPanel as the root layout of panes, which supports default pane behaviors like enter/exit transitions. |
| detailPane | the detail pane of the scaffold, which is supposed to hold the detailed info of a selected item, for example, the mail content currently being viewed. Note that we suggest you to use SpatialPanel as the root layout of panes, which supports default pane behaviors like enter/exit transitions. |
| modifier | SubspaceModifier of the surrounding spatial layout |
| horizontalArrangement | The horizontal arrangement of the children. |
| extraPane | the extra pane of the scaffold, 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. Note that we suggest you to use SpatialPanel as the root layout of panes, which supports default pane behaviors like enter/exit transitions. |