Fixed
Status Update
Comments
sr...@google.com <sr...@google.com>
jl...@google.com <jl...@google.com>
mr...@gmail.com <mr...@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 700259f0afe267dfe78b93db932a3cfd827a119d
Author: Sherry Hu <shuanghu@google.com>
Date: Mon May 10 14:23:09 2021
Add transition motion between fold and unfold.
Bug: 186211031
Test: manual
Change-Id: Id60f07311eca2d94ef91dc28ae45823a475160b4
M slidingpanelayout/slidingpanelayout/build.gradle
M slidingpanelayout/slidingpanelayout/src/androidTest/java/androidx/slidingpanelayout/widget/FoldTest.kt
M slidingpanelayout/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java
https://android-review.googlesource.com/1702066
Branch: androidx-main
commit 700259f0afe267dfe78b93db932a3cfd827a119d
Author: Sherry Hu <shuanghu@google.com>
Date: Mon May 10 14:23:09 2021
Add transition motion between fold and unfold.
Bug: 186211031
Test: manual
Change-Id: Id60f07311eca2d94ef91dc28ae45823a475160b4
M slidingpanelayout/slidingpanelayout/build.gradle
M slidingpanelayout/slidingpanelayout/src/androidTest/java/androidx/slidingpanelayout/widget/FoldTest.kt
M slidingpanelayout/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java
an...@google.com <an...@google.com> #3
Compose 1.6.0-alpha02 included this fix in commit intValue
, floatValue
, etc. for your states. The warning should now correctly suggest these replacements, both in the message and in the suggested quickfix.
Description
DESCRIBE THE ISSUE IN DETAIL:
Example code:
color.value
When using
mutableIntState
andstate.value
, Android Studio correctly reports the issue, however provides an incorrect quick-fix:"Reading value will cause an autoboxing operation. Use <unknown replacement> to avoid unnecessary allocations."
Using the quick fix results into this:
color.<unknown replacement>
Screenshot is attached below.
Studio Build: Version of Gradle Plugin: 8.0.0 Version of Gradle: 8.0 OS: Windows 10