Caching images from http sources

I read a post dated December 1, 2012 in Slodge bloch that File and DownloadCache plugins can be used to download and cache images from http sources. I think that what I need is in the application that I am trying to develop using MvvmCross (excellent frame, congratulations !!).

My application first connects to a remote server to download some basic configurations. One of these configurations points to the URL to get the application icon. To preserve the bandwidth, I would like the app to secretly populate the icon for the first time it receives it before changing the URL.

I did the search without much success, and I would like someone to point me to a good demo on how to cache images from http sources and then link these images to user interface controls (Droid, iOS and WP)

Thaks

0
source share
2 answers

The image mapping to wp, winrt, xamarin.android and xamarin.touch from http is shown in these two N + 1 videos:

+2
source

I recently ran into the same problem and finally solved it. It was pretty simple, you just need to make sure that you add and initialize the Cirrious.MvvmCross.Plugins.Json plugin in your project.

I created a similar question, which he already solved fooobar.com/questions/1492195 / ...

0
source

Source: https://habr.com/ru/post/1492197/


All Articles