Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 64beb5d804ce5bbeb99646326c2bfc1ed215ff5d
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Thu Nov 26 00:38:26 2020
Support main axis arrangements in LazyColumn/Row
Test: manually with a new demo, new tests in LazyArrangementsTest
Fixes: 170394300
Relnote: verticalArrangement param was added for LazyColumn/LazyColumnFor/LazyColumnForIndexed. horizontalArrangement param was added for LazyRow/LazyRowFor/LazyRowForIndexed. Arrangement allows to add a spacing between items and specify the arrangement of the items when we have not enough of them to fill the whole minimum size.
Change-Id: Icf79a56204f07903c5f3bd4dd5700568fb6d1343
M compose/foundation/foundation-layout/src/commonMain/kotlin/androidx/compose/foundation/layout/Arrangement.kt
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/ListDemos.kt
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyArrangementsTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyFor.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGrid.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyMeasuredItem.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyMeasuredItemProvider.kt
https://android-review.googlesource.com/1510977
Branch: androidx-master-dev
commit 64beb5d804ce5bbeb99646326c2bfc1ed215ff5d
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Thu Nov 26 00:38:26 2020
Support main axis arrangements in LazyColumn/Row
Test: manually with a new demo, new tests in LazyArrangementsTest
Fixes: 170394300
Relnote: verticalArrangement param was added for LazyColumn/LazyColumnFor/LazyColumnForIndexed. horizontalArrangement param was added for LazyRow/LazyRowFor/LazyRowForIndexed. Arrangement allows to add a spacing between items and specify the arrangement of the items when we have not enough of them to fill the whole minimum size.
Change-Id: Icf79a56204f07903c5f3bd4dd5700568fb6d1343
M compose/foundation/foundation-layout/src/commonMain/kotlin/androidx/compose/foundation/layout/Arrangement.kt
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/ListDemos.kt
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyArrangementsTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyFor.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGrid.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyMeasuredItem.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyMeasuredItemProvider.kt
Description