Image does not load from URL on Mvx.MvxImageView

I am creating a GridView that involves viewing images with text. Images are taken from url and my problem is that they are not uploaded.

Inside the grid element template, I have this element:

 <Mvx.MvxImageView android:id="@+id/gridItemImage" android:layout_width="fill_parent" android:layout_height="25dp" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:scaleType="fitXY" local:MvxBind="ImageUrl Image" /> 

The property associated with ImageUrl also looks like this:

 public string Image { get { return @"http://some.image/on/the/Internet.png"; } } 

It actually calls a private field, but I wrote a test value that I set.

My question is: what should I do to properly bind ImageUrl and show it in the grid?

+7
xamarin xamarin.android mvvmcross
source share
1 answer

What plugins did you install?

Have you installed DownloadCache, File and JSON plugins in your Core and Droid project?

Refresh

To correctly bind the ImageUrl element to MvxImageView , you need: have the plugins Mvvmcross DownloadCache, File and JSON for Core and Droid projects.

These are the plugins you need: enter image description here

+10
source share

All Articles