Daní
Daní

Reputation: 375

Image Caching from http sources

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!!).

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.

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

Upvotes: 0

Views: 1583

Answers (2)

Eugene Tiutiunnyk
Eugene Tiutiunnyk

Reputation: 178

I've faced the same issue recently and finally solved it. It was pretty easy, you just need to make sure that you added and initialized Cirrious.MvvmCross.Plugins.Json plugin in your project.

I created a similar question that it's solved already https://stackoverflow.com/a/17891681/1309164

Upvotes: 0

Stuart
Stuart

Reputation: 66882

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

Upvotes: 2

Related Questions