没有注册IMvxImageHelper [英] No IMvxImageHelper registered
本文介绍了没有注册IMvxImageHelper的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用mvvmcross并且无法绑定到图片网址。错误:没有注册IMvxImageHelper - 您必须先提供图像帮助才能使用MvxImageView
I use mvvmcross and can not bind to image URL. Error: No IMvxImageHelper registered - you must provide an image helper before you can use a MvxImageView
<Mvx.MvxImageView
p1:id="@+id/imgArticle"
p1:layout_width="49dp"
p1:layout_height="49dp"
p1:layout_marginLeft="5dp"
p1:layout_marginTop="5dp"
local:MvxBind="ImageUrl Image, Converter = Image"
p1:layout_marginBottom="5dp"
p1:background="#ffff0000" />
我的模特:
public Guid Id { get; set; }
public string Name { get; set; }
public string Image { get; set; }
public decimal Price { get; set; }
推荐答案
安装DownloadCache插件和MVVMCross文件插件
Install the DownloadCache plugin and MVVMCross File plugin
这篇关于没有注册IMvxImageHelper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文