缺少样式字段 MvxExpandableListView_GroupItemTemplate
Missing stylable field MvxExpandableListView_GroupItemTemplate
我注意到在 Android 上调试时,以下 MvxBind 信息消息被输出到 logcat:
Missing stylable field MvxExpandableListView_GroupItemTemplate
我已尝试将 MvxBindingAttributes.xml 文件从 GitHub 添加到 DroidProject\Resources\values 文件夹并将构建操作设置为 AndroidResource。这会导致每个 <declare-stylable>
XML 标记的编译器错误,例如:
Attribute "XXX" has already been defined
这很有趣,因为它声称 MvxGroupItemTemplate
在我编译时已经定义,但是当我 运行 程序显示一条消息说它丢失了。
我应该怎么做才能解决这个问题?
我今天早上更新到最新版本的 Xamarin Studio 时遇到了同样的问题。现在通过包括这个来修复它:
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<declare-styleable name="MvxExpandableListView">
<attr name="GroupItemTemplate" format="reference"/>
</declare-styleable>
</resources>
在 Resources\values\attrs.xml 文件中。
我注意到在 Android 上调试时,以下 MvxBind 信息消息被输出到 logcat:
Missing stylable field MvxExpandableListView_GroupItemTemplate
我已尝试将 MvxBindingAttributes.xml 文件从 GitHub 添加到 DroidProject\Resources\values 文件夹并将构建操作设置为 AndroidResource。这会导致每个 <declare-stylable>
XML 标记的编译器错误,例如:
Attribute "XXX" has already been defined
这很有趣,因为它声称 MvxGroupItemTemplate
在我编译时已经定义,但是当我 运行 程序显示一条消息说它丢失了。
我应该怎么做才能解决这个问题?
我今天早上更新到最新版本的 Xamarin Studio 时遇到了同样的问题。现在通过包括这个来修复它:
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<declare-styleable name="MvxExpandableListView">
<attr name="GroupItemTemplate" format="reference"/>
</declare-styleable>
</resources>
在 Resources\values\attrs.xml 文件中。