Fixed
Status Update
Comments
jo...@google.com <jo...@google.com>
ma...@google.com <ma...@google.com> #2
Thanks for filing this.
This is a fair request and I think it will be done in the near future.
We already in progress of doing this for Buttons, so selection controls are coming some day :)
al...@google.com <al...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 62eb7deccbe3896c84e04000361bbbc7a69909af
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Wed Sep 16 20:32:07 2020
Exposes InteractionState parameters in stateful Material components, such as Slider and Switch
This allows hoisting the InteractionState above the component, to control how a component appears in different Interactions, or manually setting states for a given component, such as to make a RadioButton appear pressed when a ListItem containing a RadioButton is pressed.
Bug: b/168025711
Bug: b/167164434
Test: ./gradlew updateApi
Relnote: "Exposes InteractionState parameters in stateful Material components, to allow hoisting the state and reading / controlling the state."
Change-Id: Iaca5f65f8132a6f2b45d461001fa740d08b6bacb
M compose/material/material/api/current.txt
M compose/material/material/api/public_plus_experimental_current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Checkbox.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/IconButton.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Menu.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/RadioButton.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Switch.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
https://android-review.googlesource.com/1428672
Branch: androidx-master-dev
commit 62eb7deccbe3896c84e04000361bbbc7a69909af
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Wed Sep 16 20:32:07 2020
Exposes InteractionState parameters in stateful Material components, such as Slider and Switch
This allows hoisting the InteractionState above the component, to control how a component appears in different Interactions, or manually setting states for a given component, such as to make a RadioButton appear pressed when a ListItem containing a RadioButton is pressed.
Bug:
Bug:
Test: ./gradlew updateApi
Relnote: "Exposes InteractionState parameters in stateful Material components, to allow hoisting the state and reading / controlling the state."
Change-Id: Iaca5f65f8132a6f2b45d461001fa740d08b6bacb
M compose/material/material/api/current.txt
M compose/material/material/api/public_plus_experimental_current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Checkbox.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/IconButton.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Menu.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/RadioButton.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Switch.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
ma...@google.com <ma...@google.com> #4
Oh I see how this works. I bumped to P1 as a target to land in the next 3 weeks, but since it's been open for a while it shows as fire. Which it kind of is. I created a meta ticket for that to track for next month.
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit fe1a45f10ccda640a4f9f1dd360d35dc1802ff00
Author: Jossi Wolf <jossiwolf@google.com>
Date: Wed Nov 29 14:34:54 2023
[M2] Stabilize BackdropScaffold
Relnote: BackdropScaffold has been promoted from experimental to stable. The animation spec is now a tween spec in accordance with guidelines. BackdropScaffold's snackbarHost parameter is not the last parameter anymore to avoid confusion with trailing lambdas. `BackdropScaffoldState` exposes a `progress(from, to)` API to query progress between anchors.
Fixes: 261423218
Test: Existing tests
Change-Id: I73f48dd7d1aab0a57d728f562f22bda5020ccd4b
M compose/material/material/api/current.ignore
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.ignore
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/BackdropScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt
https://android-review.googlesource.com/2852689
Branch: androidx-main
commit fe1a45f10ccda640a4f9f1dd360d35dc1802ff00
Author: Jossi Wolf <jossiwolf@google.com>
Date: Wed Nov 29 14:34:54 2023
[M2] Stabilize BackdropScaffold
Relnote: BackdropScaffold has been promoted from experimental to stable. The animation spec is now a tween spec in accordance with guidelines. BackdropScaffold's snackbarHost parameter is not the last parameter anymore to avoid confusion with trailing lambdas. `BackdropScaffoldState` exposes a `progress(from, to)` API to query progress between anchors.
Fixes: 261423218
Test: Existing tests
Change-Id: I73f48dd7d1aab0a57d728f562f22bda5020ccd4b
M compose/material/material/api/current.ignore
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.ignore
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/BackdropScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/BackdropScaffold.kt
pr...@google.com <pr...@google.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.7.0-alpha03
androidx.compose.material:material-android:1.7.0-alpha03
androidx.compose.material:material-desktop:1.7.0-alpha03
Description
The following Experimental APIs have existed for several releases.
Please consider stabilising or removing these APIs: