Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
deleted
sa...@google.com <sa...@google.com>
g....@xe.gr <g....@xe.gr> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 3a4bb5cc9921539344aea335266a6b068fb69bbb
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 15:00:51 2024
Rename `androidTest` to `androidInstrumentedTest` on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I42ea11960d7dd83224d8ae8cb256c616735200d1
M savedstate/savedstate/src/androidInstrumentedTest/AndroidManifest.xml
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/ErrorInStaticBlock.android.kt
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/SavedStateRegistryTest.android.kt
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/ViewTreeSavedStateRegistryOwnerTest.android.kt
https://android-review.googlesource.com/3067205
Branch: androidx-main
commit 3a4bb5cc9921539344aea335266a6b068fb69bbb
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 15:00:51 2024
Rename `androidTest` to `androidInstrumentedTest` on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I42ea11960d7dd83224d8ae8cb256c616735200d1
M savedstate/savedstate/src/androidInstrumentedTest/AndroidManifest.xml
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/ErrorInStaticBlock.android.kt
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/SavedStateRegistryTest.android.kt
M savedstate/savedstate/src/androidInstrumentedTest/kotlin/androidx/savedstate/ViewTreeSavedStateRegistryOwnerTest.android.kt
il...@google.com <il...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit ccf0ec0a1d84f18fb366140dca86b9ba80b0fcbd
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 16:44:04 2024
Use `kmpDocs` on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I288623ec97038c5641194828684ad05ba448afff
M docs-tip-of-tree/build.gradle
https://android-review.googlesource.com/3066769
Branch: androidx-main
commit ccf0ec0a1d84f18fb366140dca86b9ba80b0fcbd
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 16:44:04 2024
Use `kmpDocs` on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I288623ec97038c5641194828684ad05ba448afff
M docs-tip-of-tree/build.gradle
pr...@google.com <pr...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 5d58fbb28a0613242ca71ac5ec0c30f6f807f909
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 11:15:03 2024
Add `KMP` as a build type on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I689e0d87ec326c606e3b3b70e6dd2d3323ac3411
M settings.gradle
https://android-review.googlesource.com/3067202
Branch: androidx-main
commit 5d58fbb28a0613242ca71ac5ec0c30f6f807f909
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Tue Apr 30 11:15:03 2024
Add `KMP` as a build type on `savedstate`
Test: N/A
Bug: 334076622
Change-Id: I689e0d87ec326c606e3b3b70e6dd2d3323ac3411
M settings.gradle
Description
Component used: livecycle-livedata-ktx Version used: 2.5.1
distinctUntilChanged()
which does not set the initial value of the returned LiveData even if the source one was initialized. This caused unnecessary recompositions if observed withobserveAsState()
.However, I also noticed that the other two
Transformations
methods,map
andswitchMap
, suffer from the same symptom which means that they too will likely cause the same unnecessary recompositions.