Fixed
Status Update
Comments
ja...@google.com <ja...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit af364c3aef9d0f67629cbfda8ac80670031d8461
Author: Mihai Popa <popam@google.com>
Date: Fri Feb 04 14:19:55 2022
Add reverseLayout to LazyVerticalGrid
The CL also includes the changes of
Iba3e1689ee37948667dc2b8a7de06865465ab3f5, which were done only for
lists previously.
Relnote: LazyVerticalGrid now supports reverseLayout.
Fixes: 215572963
Bug: 211753558
Test: ran all tests in androidx.compose.foundation.lazy.grid
Change-Id: I6d7d7057318b873fc22b78a212480e1205ccb8c0
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridsReverseLayoutTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridsContentPaddingTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyArrangementsTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredLine.kt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGrid.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridLayoutInfoTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredItem.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridPrefetcherTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredLineProvider.kt
https://android-review.googlesource.com/1972779
Branch: androidx-main
commit af364c3aef9d0f67629cbfda8ac80670031d8461
Author: Mihai Popa <popam@google.com>
Date: Fri Feb 04 14:19:55 2022
Add reverseLayout to LazyVerticalGrid
The CL also includes the changes of
Iba3e1689ee37948667dc2b8a7de06865465ab3f5, which were done only for
lists previously.
Relnote: LazyVerticalGrid now supports reverseLayout.
Fixes: 215572963
Bug: 211753558
Test: ran all tests in androidx.compose.foundation.lazy.grid
Change-Id: I6d7d7057318b873fc22b78a212480e1205ccb8c0
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridsReverseLayoutTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridsContentPaddingTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyArrangementsTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredLine.kt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGrid.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridLayoutInfoTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredItem.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/grid/LazyGridPrefetcherTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyMeasuredLineProvider.kt
cl...@google.com <cl...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit ff557be3f50e772a71a4e199e55129b251020d78
Author: Mihai Popa <popam@google.com>
Date: Tue Feb 08 13:13:43 2022
Remove obsolete OptIn annotations in LazyGridState
Bug: 211753558
Test: existing tests
Change-Id: I9ffa633155d7c242df877b584c60227c6598accf
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGridState.kt
https://android-review.googlesource.com/1976766
Branch: androidx-main
commit ff557be3f50e772a71a4e199e55129b251020d78
Author: Mihai Popa <popam@google.com>
Date: Tue Feb 08 13:13:43 2022
Remove obsolete OptIn annotations in LazyGridState
Bug: 211753558
Test: existing tests
Change-Id: I9ffa633155d7c242df877b584c60227c6598accf
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyGridState.kt
Description
"gravity(RowAlign) is deprecated. Please use gravity instead.",
-> ReplaceWith("gravity(align)")
)
@Suppress("Deprecation")
fun Modifier.gravity(align: RowAlign) = this + when (align) {
Should be:
ReplaceWith("gravity(Alignment)")