Search code examples
androidimageviewmvvmcrossimageurl

No IMvxImageHelper registered


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" />

My Model:

public Guid Id { get; set; }
public string Name { get; set; }
public string Image { get; set; }
public decimal Price { get; set; }

Solution

  • Install the DownloadCache plugin and MVVMCross File plugin