Fixed
Status Update
Comments
jb...@google.com <jb...@google.com>
ya...@google.com <ya...@google.com>
pa...@google.com <pa...@google.com> #2
Any plans to support this?
bl...@google.com <bl...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha07
androidx.compose.material3:material3-adaptive-navigation-suite-android:1.4.0-alpha07
tn...@google.com <tn...@google.com> #4
Yes, the WrongIdDetector should skip id's that start with SdkConstant.PREFIX_BINDING_EXPR or PREFIX_TWOWAY_BINDING_EXPR
tn...@google.com <tn...@google.com> #5
.....actually, an even better and correct fix is for that attribute to just exit if attribute.namespaceURI != SdkConstants.ANDROID_URI
bl...@google.com <bl...@google.com>
bl...@google.com <bl...@google.com>
an...@google.com <an...@google.com> #8
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 6
- Android Gradle Plugin 8.3.0-alpha06
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
mc...@ebay.com <mc...@ebay.com> #9
Worked great, thanks!
Description
When using databinding to bind an ID to a view, the
InvalidId
lint detector presents a false positive failure. Repro project attached.In the repro project:
bug.repro.app.BoundViewModel
)app/layout/lint_layout.xml
)app:id="@{uxContent.id}"
@+id/name
IDE image showing failed inspection also attached.
Studio Build: Android Studio Flamingo | 2022.2.1 Patch 2 Version of Gradle Plugin: 8.0.2 Version of Gradle: 8.2.1 Version of Java: 17.0.6 (Azul Systems, Inc. 17.0.6+10-LTS) OS: Mac OS X 13.4.1 aarch64