Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

comment with '&' break databinding #23

Open
mayqlzu opened this issue May 22, 2020 · 0 comments
Open

comment with '&' break databinding #23

mayqlzu opened this issue May 22, 2020 · 0 comments

Comments

@mayqlzu
Copy link

mayqlzu commented May 22, 2020

when i use '&' in my comment, my Android Studio warns "cannot resolve symbol xxx";

example:
// foo.xml
<! --comment with & -->
<LinearLayout id="+id/foo" ...>

// java code:
FooBinding b = DataBindingUtil.setContentView(this, R.layout.foo);
b.foo.setOnClickListener(this); // warning: cannot resolve symbol foo

thx!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant