I have a design spec that would be a great fit for...
# compose-android
m
I have a design spec that would be a great fit for the adaptive list-detail layout for horizontal tablet layouts. For compact single pane layouts the design does not use the adaptive list-detail layout. The trick is that I'd need to navigate directly from list to extra, instead of going with the usual list->detail->extra navigation. Otherwise everything remains the same: the detail pane is always visible, just the list and extra visibility is toggled. There's some hacky ways to get this to work with the
ListDetailPaneScaffold
but would there be an "official" way to achieve this?
One hacky way that'll certainly not be very sustainable is to use
LaunchedEffect(true)
on
listPane
and directly "navigate" to
detail
. Then just when necessary navigate to
extra
directly from the
list
.
If the above is not done, then the
detail
pane disappears and
extra
takes it's place, which I'm not sure if it's a bug or not.