Yingding Wang
12/27/2022, 1:07 PMhorologist==0.2.5
, the NavGraphBuilder.scalingLazyColumnComposable
is deprecated, i shall use the listComposable
@Deprecated(
"Use listComposable"
)
public fun NavGraphBuilder.scalingLazyColumnComposable(
In the nav example, NavGraphBuilder.scrollable
has replaced NavGraphBuilder.scalingLazyColumnComposable
, what is the difference between listComposable
and scrollable
? The only listComposable
which I can find in NavGraphBuilder
is lazyListComposable
. Thanks for any hint in advance.yschimke
12/27/2022, 9:21 PMlistComposable
is a typo! Should be scrollable
, there is also lazyListComposable
and scrollStateComposable
Yingding Wang
12/28/2022, 12:47 PMyschimke
12/29/2022, 1:23 AMscrollable(
route = "menu",
// optional method to configure initial layout
columnStateFactory = ScalingLazyColumnDefaults.belowTimeText(
rotaryMode = Fling,
firstItemIsFullWidth = false
)
) {
com.google.android.horologist.compose.layout.ScalingLazyColumn(
modifier = Modifier.fillMaxSize(),
columnState = it.columnState,
) {