Cannot install mvvmcross download cache pluguin with xamarin forms

余生颓废 提交于 2019-12-25 04:24:53

问题


Mvvmcross version 4.4.0

xamarin forms need Xamanarin.android.support.v4/v7.x version 23.0.0 Download Cachè plugin need Xamarin.android.support.compat version 24.2.1

My app is using xamarin forms so i cant remove it, but i also need to use MvxListView to show an image from url with local:MvxBind="ImageUrl myimage" so i need download cache plugin, but i cant install it.

Is there any other IMvxImageHelper to use instead of MvvmCross-DownloadCache plugin ? or any other solution ?

*IMPORTANT NOTE-> No code in the Android View.


回答1:


We use the Xamarin.Forms Plugin FFImageLoading - Fast & Furious Image Loading. It works like a charm and the image loading is much faster than without this plugin. So just take a look at it.

You can find detailed documentation on this github wiki.

Here's a short Xaml example how to use it:

<ffimageloading:CachedImage HorizontalOptions="Center" VerticalOptions="Center"
            WidthRequest="300" HeightRequest="300"
            DownsampleToViewSize="true"
            Source = "http://loremflickr.com/600/600/nature?filename=simple.jpg">
</ffimageloading:CachedImage>


来源:https://stackoverflow.com/questions/40846151/cannot-install-mvvmcross-download-cache-pluguin-with-xamarin-forms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!