作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的 UI.Droid/Resources/Values 中有 MvxBindingAttributes.xml 但每次我尝试在布局中使用绑定(bind)时都会得到
Warning attribute is not declared.
No resource identifier found for attribute 'MvxBind' in package 'DroidUI'
最佳答案
您是否检查过 MvxBindingAttributes.xml
文件在属性中标记为 AndroidResource?
VisualStudio 喜欢将 xml 文件标记为内容或无 - 特别是如果您添加了 MvxBindingAttributes.xml
文件作为链接。
作为 更新 为此,您现在还可以使用特殊的“自动”xml 方案:
xmlns:local="http://schemas.android.com/apk/res-auto"
关于xamarin.android - 来自 MvxBindingAttributes 的属性不与 MvvmCross 一起添加,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12596553/
我的 UI.Droid/Resources/Values 中有 MvxBindingAttributes.xml 但每次我尝试在布局中使用绑定(bind)时都会得到 Warning attribute
我是一名优秀的程序员,十分优秀!