Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 892864aeec9bd49d069e93e1ddd79fac27566681
Author: Clara Fok <clarafok@google.com>
Date: Tue Jan 03 16:05:32 2023
Remove experimental status of collectAsStateWithLifecycle APIs
Test: n/a
Fixes: 258835424
Relnote: "Lifecycle Compose collectAsStateWithLifecycle() APIs are no longer in experimental status as there are not future changes planned for this API."
Change-Id: I09d42621a1247ad59b37b478e883a61350bf247c
M lifecycle/lifecycle-runtime-compose/api/current.txt
M lifecycle/lifecycle-runtime-compose/api/public_plus_experimental_current.txt
M lifecycle/lifecycle-runtime-compose/api/restricted_current.txt
M lifecycle/lifecycle-runtime-compose/samples/src/main/java/androidx/lifecycle/compose/samples/LifecycleComposeSamples.kt
M lifecycle/lifecycle-runtime-compose/src/androidTest/java/androidx/lifecycle/compose/CollectAsStateWithLifecycleTests.kt
D lifecycle/lifecycle-runtime-compose/src/main/java/androidx/lifecycle/compose/ExperimentalLifecycleComposeApi.kt
M lifecycle/lifecycle-runtime-compose/src/main/java/androidx/lifecycle/compose/FlowExt.kt
https://android-review.googlesource.com/2374990
Branch: androidx-main
commit 892864aeec9bd49d069e93e1ddd79fac27566681
Author: Clara Fok <clarafok@google.com>
Date: Tue Jan 03 16:05:32 2023
Remove experimental status of collectAsStateWithLifecycle APIs
Test: n/a
Fixes: 258835424
Relnote: "Lifecycle Compose collectAsStateWithLifecycle() APIs are no longer in experimental status as there are not future changes planned for this API."
Change-Id: I09d42621a1247ad59b37b478e883a61350bf247c
M lifecycle/lifecycle-runtime-compose/api/current.txt
M lifecycle/lifecycle-runtime-compose/api/public_plus_experimental_current.txt
M lifecycle/lifecycle-runtime-compose/api/restricted_current.txt
M lifecycle/lifecycle-runtime-compose/samples/src/main/java/androidx/lifecycle/compose/samples/LifecycleComposeSamples.kt
M lifecycle/lifecycle-runtime-compose/src/androidTest/java/androidx/lifecycle/compose/CollectAsStateWithLifecycleTests.kt
D lifecycle/lifecycle-runtime-compose/src/main/java/androidx/lifecycle/compose/ExperimentalLifecycleComposeApi.kt
M lifecycle/lifecycle-runtime-compose/src/main/java/androidx/lifecycle/compose/FlowExt.kt
il...@google.com <il...@google.com> #3
This has been fixed and will be available in Lifecycle 2.6.0-alpha04.
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.lifecycle:lifecycle-runtime-compose:2.6.0-alpha04
Description
Component used: lifecycle-runtime-compose
Version used: 2.6.0-alpha03
collectAsStateWithLifecycle()
should no longer be marked as experimental as there are no future changes planned to this API surface.