I have an app in Xamarin in which I display images like this:
webImage.Source = new UriImageSource {
Uri = new Uri("https://xamarin.com/content/images/pages/forms/example-app.png"),
CachingEnabled = true,
CacheValidity = new TimeSpan(5,0,0,0) };
This works great - however, I now need let the user download all the images to cache with one button click, and I can't find anything on the internet.
Is it even possible with cache like this?
question from:
https://stackoverflow.com/questions/65599968/downloading-multiple-images-to-cache-in-xamarin 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…