Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 7b5fd45f6f47a8529f364829a905e45117068029
Author: jnichol <jnichol@google.com>
Date: Mon Feb 14 17:26:59 2022
ScalingLazyListLayoutInfo: add reverseLayout, viewportSize and orientation properties
LazyListLayoutInfo now has a reverseLayout, viewportSize and orientation properties, make them available in ScalingLazyColumn as well.
RelNote: "ScalingLazyListLayoutInfo now has reverseLayout, viewportSize and orientation properties matching those from LazyListLayoutInfo"
Test: ./gradlew :wear:compose:compose-material:connectedCheck --info --daemon
Bug: 217917020
Change-Id: I4f2581c8e4c85d3530b428de6ca7d3088de439ca
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyListState.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyListLayoutInfo.kt
M wear/compose/compose-material/api/current.txt
M wear/compose/compose-material/api/restricted_current.txt
M wear/compose/compose-material/api/public_plus_experimental_current.txt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ScalingLazyListLayoutInfoTest.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumnMeasure.kt
https://android-review.googlesource.com/1984971
Branch: androidx-main
commit 7b5fd45f6f47a8529f364829a905e45117068029
Author: jnichol <jnichol@google.com>
Date: Mon Feb 14 17:26:59 2022
ScalingLazyListLayoutInfo: add reverseLayout, viewportSize and orientation properties
LazyListLayoutInfo now has a reverseLayout, viewportSize and orientation properties, make them available in ScalingLazyColumn as well.
RelNote: "ScalingLazyListLayoutInfo now has reverseLayout, viewportSize and orientation properties matching those from LazyListLayoutInfo"
Test: ./gradlew :wear:compose:compose-material:connectedCheck --info --daemon
Bug: 217917020
Change-Id: I4f2581c8e4c85d3530b428de6ca7d3088de439ca
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyListState.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyListLayoutInfo.kt
M wear/compose/compose-material/api/current.txt
M wear/compose/compose-material/api/restricted_current.txt
M wear/compose/compose-material/api/public_plus_experimental_current.txt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ScalingLazyListLayoutInfoTest.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumnMeasure.kt
Description
For feature parity with LazyColumn we should add getOrientation() getReversed() and getViewportSize() to ScalingLazyListLayoutInfo. See b/200920410 for the details of what was added to LazyXXXX