绑定表达式导致错误,但编译/运行正常 [英] Binding expression results in error, but compiles/runs fine

查看:197
本文介绍了绑定表达式导致错误,但编译/运行正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android Studio中创建绑定表达式时,我似乎收到错误。该代码似乎编译并运行ok,该方法被调用,但我仍然在Android Studio中出现错误。

I seem to be getting an error when creating binding expressions in Android Studio. The code seems to compile and run ok and the method is called, but I'm still left with an error in Android Studio.

我在这里遗漏了什么?就文档而言,我不会

Am I missing something here? As far as the documentation is concerned I don't think I am.

推荐答案

Android Studio正在遵循数据绑定实现,并可能会在没有问题的情况下显示警告或错误。它应该不断改进。

Android Studio is following data binding implementation and may show warnings or errors where there is no problem. It should keep improving.

这篇关于绑定表达式导致错误,但编译/运行正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆