无法使用Xamarin表单安装mvvmcross下载缓存插件 [英] Cannot install mvvmcross download cache pluguin with xamarin forms
问题描述
Mvvmcross版本4.4.0
Mvvmcross version 4.4.0
xamarin表单需要Xamanarin.android.support.v4/v7.x
版本23.0.0
下载Cachè插件需要Xamarin.android.support.compat
版本24.2.1
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
我的应用程序正在使用xamarin表单,因此我无法将其删除,但我还需要使用MvxListView来显示local:MvxBind="ImageUrl myimage"
来自url的图像
所以我需要下载缓存插件,但无法安装.
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.
是否还有其他IMvxImageHelper可以代替MvvmCross-DownloadCache插件使用?或任何其他解决方案?
Is there any other IMvxImageHelper to use instead of MvvmCross-DownloadCache plugin ? or any other solution ?
*重要说明-> Android视图中没有代码.
*IMPORTANT NOTE-> No code in the Android View.
推荐答案
我们使用Xamarin.Forms插件 FFImageLoading-快速&愤怒的图像加载.它的工作原理很吸引人,图像加载比没有此插件快得多.因此,只需看一看即可.
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.
您可以在此github Wiki 中找到详细的文档.
You can find detailed documentation on this github wiki.
下面是一个简短的Xaml示例:
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>
这篇关于无法使用Xamarin表单安装mvvmcross下载缓存插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!