简体   繁体   中英

Android Studio Possible Data Binding Error

Error ScreenShot

XML Layout

I keep getting these errors when I try to implement data binding in my project, not sure what is causing it . I've checked all my xml classes and the are pointing to the appropriate viewModel. Any help would be appreciated. Thanks

According to java convention, Package names should be written in all lower case to avoid conflict with the names of classes. And it creates problem in Data Binding. So change all your package names to lower case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM