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 674603e2b6d6251e6ac1823280212f70c6e25e80
Author: jnichol <jnichol@google.com>
Date: Fri Feb 18 16:03:48 2022
Rename ToggleChip/SplitToggleChip toggleIcon->toggleControl
At the request of the UX team we are renaming toggleIcon to toggleControl in ToggleChip and SplitToggleChip to better align with Material Design naming.
Test: ./gradlew :wear:compose:compose-material:connectedCheck --info --daemon
Bug: 220129803
Relnote: "We have changed the name of ToggleChip and SplitToggleChip toggleIcon property to toggleControl to better align with Material Design in order to help designers and developers navigate the API."
Change-Id: If59219f736c95c54c253f52217335204648364fa
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ChipDemo.kt
M wear/compose/compose-material/benchmark/src/androidTest/java/androidx/wear/compose/material/benchmark/ToggleChipBenchmark.kt
M wear/compose/compose-material/api/current.txt
M wear/compose/compose-material/api/restricted_current.txt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ToggleChipDemo.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ToggleChip.kt
M wear/compose/compose-material/api/public_plus_experimental_current.txt
M wear/compose/compose-material/samples/src/main/java/androidx/wear/compose/material/samples/ToggleChipSample.kt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/SliderDemo.kt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ToggleChipTest.kt
https://android-review.googlesource.com/1990432
Branch: androidx-main
commit 674603e2b6d6251e6ac1823280212f70c6e25e80
Author: jnichol <jnichol@google.com>
Date: Fri Feb 18 16:03:48 2022
Rename ToggleChip/SplitToggleChip toggleIcon->toggleControl
At the request of the UX team we are renaming toggleIcon to toggleControl in ToggleChip and SplitToggleChip to better align with Material Design naming.
Test: ./gradlew :wear:compose:compose-material:connectedCheck --info --daemon
Bug: 220129803
Relnote: "We have changed the name of ToggleChip and SplitToggleChip toggleIcon property to toggleControl to better align with Material Design in order to help designers and developers navigate the API."
Change-Id: If59219f736c95c54c253f52217335204648364fa
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ChipDemo.kt
M wear/compose/compose-material/benchmark/src/androidTest/java/androidx/wear/compose/material/benchmark/ToggleChipBenchmark.kt
M wear/compose/compose-material/api/current.txt
M wear/compose/compose-material/api/restricted_current.txt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/ToggleChipDemo.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/ToggleChip.kt
M wear/compose/compose-material/api/public_plus_experimental_current.txt
M wear/compose/compose-material/samples/src/main/java/androidx/wear/compose/material/samples/ToggleChipSample.kt
M wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/SliderDemo.kt
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ToggleChipTest.kt
Description
Compose previews do not call LaunchedEffects. As a result ScalingLazyColumn is not visible in Compose Previews as it initially starts with list items transparent in order for the user not to see them scrolling into place when the LaunchedEffect is called to scroll to the correct initial item placement.