Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit b422ec96758469115c133a779a3ab3293fd8a9e4
Author: Levi Albuquerque <levima@google.com>
Date: Wed Aug 23 18:13:38 2023
Update PagerState to allow customization of animated scroll.
Introduced snapToPage and updateTargetPage in a ScrollScope, these are the last pieces necessary to allowing customization of animated scroll through PagerState.scroll.
Relnote: Introduced updateCurrentPage and updateTargetPage in ScrollScope, these are the last pieces necessary to allowing customization of animated scroll through PagerState.scroll.
Fixes: 267744105
Fixes: 243786897
Test: N/A
Change-Id: I9cad5789ef0d48da46b0e38fbc04bd9ac740861e
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/PagerSamples.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/pager/PagerStateNonGestureScrollingTest.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/pager/PagerStateTest.kt
A compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerLazyAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt
https://android-review.googlesource.com/2723578
Branch: androidx-main
commit b422ec96758469115c133a779a3ab3293fd8a9e4
Author: Levi Albuquerque <levima@google.com>
Date: Wed Aug 23 18:13:38 2023
Update PagerState to allow customization of animated scroll.
Introduced snapToPage and updateTargetPage in a ScrollScope, these are the last pieces necessary to allowing customization of animated scroll through PagerState.scroll.
Relnote: Introduced updateCurrentPage and updateTargetPage in ScrollScope, these are the last pieces necessary to allowing customization of animated scroll through PagerState.scroll.
Fixes: 267744105
Fixes: 243786897
Test: N/A
Change-Id: I9cad5789ef0d48da46b0e38fbc04bd9ac740861e
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/PagerSamples.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/pager/PagerStateNonGestureScrollingTest.kt
M compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/pager/PagerStateTest.kt
A compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerLazyAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 6cc86976b13b30e411464fd6dafe03182fce88b3
Author: Levi Albuquerque <levima@google.com>
Date: Wed Aug 23 16:50:20 2023
Refactor LazyLayoutAnimateScrollScope.
Refactor LazyLayoutAnimateScrollScope, an API to allow running scroll customizations in Scrollable layouts.
Relnote: N/A
Bug: 267744105
Fixes: 243786897
Test: N/A
Change-Id: I06653cf8482b1ee56a99cec22b98ba5a53ef9e11
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyAnimateScroll.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt
https://android-review.googlesource.com/2693627
Branch: androidx-main
commit 6cc86976b13b30e411464fd6dafe03182fce88b3
Author: Levi Albuquerque <levima@google.com>
Date: Wed Aug 23 16:50:20 2023
Refactor LazyLayoutAnimateScrollScope.
Refactor LazyLayoutAnimateScrollScope, an API to allow running scroll customizations in Scrollable layouts.
Relnote: N/A
Bug: 267744105
Fixes: 243786897
Test: N/A
Change-Id: I06653cf8482b1ee56a99cec22b98ba5a53ef9e11
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyAnimateScroll.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridAnimateScrollScope.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.6.0-alpha06
androidx.compose.foundation:foundation-android:1.6.0-alpha06
Description
Smooth scrolling logic is internal and non-configurable at the moment.