下面是“核心”项目中一个页面的截图。添加时CachingStrategy="RecycleElement"
, 我收到
"Ambiguous Reference" error.
将鼠标悬停在它上面不会提供有关如何修复它的任何其他信息,ReSharper 也不会。
最佳答案
您可以在 ListView 构造函数中指定 RecycleElement 而不是使用 x:Arguments
<ListView ...>
<x:Arguments>
<ListViewCachingStrategy>RecycleElement</ListViewCachingStrategy>
</x:Arguments>
</ListView>
关于xaml - 为什么 Xamarin ListView 缓存策略显示 "Ambiguous Reference"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40416042/