Fixed
Status Update
Comments
jn...@google.com <jn...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit c038be090c0d177f95b27d9bc6ab4a2525b2ca94
Author: John Nichol <jnichol@google.com>
Date: Wed Feb 02 12:51:39 2022
Update the ScalingLazyColumn samples.
Add a sample showing different anchoring and animatedScrollTo. Tidy up the other samples to remove content padding and spacers.
Bug: 217377069
Test: ./gradlew wear:compose:compose-material:connectedCheck --info --daemon
Change-Id: I3ccfd01911a1e78068bf316d7db60f51369ac403
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/MaterialDemos.kt
M wear/compose/compose-material/samples/src/main/java/androidx/wear/compose/material/samples/ScalingLazyColumnSample.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumn.kt
https://android-review.googlesource.com/1968341
Branch: androidx-main
commit c038be090c0d177f95b27d9bc6ab4a2525b2ca94
Author: John Nichol <jnichol@google.com>
Date: Wed Feb 02 12:51:39 2022
Update the ScalingLazyColumn samples.
Add a sample showing different anchoring and animatedScrollTo. Tidy up the other samples to remove content padding and spacers.
Bug: 217377069
Test: ./gradlew wear:compose:compose-material:connectedCheck --info --daemon
Change-Id: I3ccfd01911a1e78068bf316d7db60f51369ac403
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/MaterialDemos.kt
M wear/compose/compose-material/samples/src/main/java/androidx/wear/compose/material/samples/ScalingLazyColumnSample.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumn.kt
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit ad713a261d9b508607c8844ad7d686752b26eb80
Author: John Nichol <jnichol@google.com>
Date: Wed Feb 02 16:32:04 2022
Update the Wear Integration Test Demo App UI.
Make the Wear Compose AndroidX Demo Integration App a little nicer on the eyes - use Chip rather than CompactChip and introduce ListHeaders.
Bug: 217377069
Test: ./gradlew wear:compose:integration-tests:demos:connectedCheck --info --daemon
Change-Id: I23040a1b0c53ea6201ef1a3b055994e78a4a8847
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/DemoApp.kt
https://android-review.googlesource.com/1968820
Branch: androidx-main
commit ad713a261d9b508607c8844ad7d686752b26eb80
Author: John Nichol <jnichol@google.com>
Date: Wed Feb 02 16:32:04 2022
Update the Wear Integration Test Demo App UI.
Make the Wear Compose AndroidX Demo Integration App a little nicer on the eyes - use Chip rather than CompactChip and introduce ListHeaders.
Bug: 217377069
Test: ./gradlew wear:compose:integration-tests:demos:connectedCheck --info --daemon
Change-Id: I23040a1b0c53ea6201ef1a3b055994e78a4a8847
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/DemoApp.kt
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit fcfc30439733d9922d2eedeec69e4ea704401e6e
Author: John Nichol <jnichol@google.com>
Date: Fri Feb 04 16:00:23 2022
Add optional snap support to ScalingLazyColumn.
Move the Picker snap support to ScalingLazyColumnDefaults. Extend it to allow an offset to be applied when snapping. This is used if the developer wants to use Start Anchoring and make 2 list items "Straddle" the Viewport center line.
Bug: 217377069
Test: ./gradlew wear:compose:compose-material:connectedCheck --info --daemon
RelNote: "We have added snap support that can be used with ScalingLazyColumn. Set flingBehavior = ScalingLazyColumnDefaults.flingWithSnapBehavior(state) to enable snap support."
Change-Id: I068d3131c38b413df242977c708698bb32047394
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/Picker.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumn.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
A wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ScalingLazyColumnTest.kt
https://android-review.googlesource.com/1972780
Branch: androidx-main
commit fcfc30439733d9922d2eedeec69e4ea704401e6e
Author: John Nichol <jnichol@google.com>
Date: Fri Feb 04 16:00:23 2022
Add optional snap support to ScalingLazyColumn.
Move the Picker snap support to ScalingLazyColumnDefaults. Extend it to allow an offset to be applied when snapping. This is used if the developer wants to use Start Anchoring and make 2 list items "Straddle" the Viewport center line.
Bug: 217377069
Test: ./gradlew wear:compose:compose-material:connectedCheck --info --daemon
RelNote: "We have added snap support that can be used with ScalingLazyColumn. Set flingBehavior = ScalingLazyColumnDefaults.flingWithSnapBehavior(state) to enable snap support."
Change-Id: I068d3131c38b413df242977c708698bb32047394
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/Picker.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumn.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
A wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ScalingLazyColumnTest.kt
Description
The Samples and Integration Test Demos on AndroidX for the ScalingLazyColumn could do with a refresh as we have added and updated functionality. Thinks to do