从http来源缓存图像 [英] Image Caching from http sources

查看:61
本文介绍了从http来源缓存图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在2012年12月1日的Slodge bloch中读到一篇文章,其中File和DownloadCache插件可用于从http来源下载和缓存图像.我认为这就是我要使用MvvmCross开发的应用程序所需要的(很棒的框架,恭喜!!).

I've read in a post from December 1st 2012 at Slodge bloch that File and DownloadCache plugins could be used for downloading and caching images from http sources. I think that's what I need in the app I'm trying to develop with MvvmCross (great framework, congratulations!!).

我的应用程序,首先连接到远程服务器以下载一些基本配置.这些配置之一指向获取应用程序图标的网址.为了节省带宽,我希望应用程序在图标第一次获得它时就对其进行缓存,直到URL更改为止.

My app, first connects to a remote server to download some basic configs. One of these configs points to an url to get the app icon. To save bandwith, I'd like app caches the icon the first time it gets it until the url changes.

我进行了一些搜索,但没有成功,我希望有人给我一个很好的演示,演示如何从http源缓存图像,然后将这些图像绑定到UI图像控件(Droid,iOS和WP)

I performed some search with no much success and I'd like somone pointing me to a good demo on how to cache images from http sources and then binding these image to UI Image controls (Droid, iOS and WP)

Thaks

推荐答案

这两个N + 1视频显示了在wp,winrt,xamarin.android和xamarin.touch上显示来自http的图像:

Showing images on wp, winrt, xamarin.android and xamarin.touch from http is shown in these two N+1 videos:

  • Kittens - N=2 - https://www.youtube.com/watch?v=e-ZKgO8fTw4
  • Books - N=6 - https://www.youtube.com/watch?v=He6QvnLsPUA

这篇关于从http来源缓存图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆