Reputation: 11494
My app shows a list (LongListSelector
to be precise) with text and Image
s. For the images, I currently bind the Source
attribute to an HTTP URL provided by the model class, which works without problems. However, I am now asking myself, if this strategy is generally advisable with regards to data transfer:
Upvotes: 0
Views: 300
Reputation: 4447
runtime only
I have got a solution for you. It is JetImageLoader, I created it for application, where we need to load, cache and show big amount of logos, icons and so on.
It can be used as binding converter, so you should not even change your code! Just update your XAMLs!
Please, check out samples in repository, you'll love it ;)
Features:
Here is the example:
<Image Source="{Binding ImageUrl, Converter={StaticResource MyAppJetImageLoaderConverter}}"/>
P.S. I am sorry, that I copying my answer from another questions, but image caching on windows phone is huge problem and I want to share my solution, so everybody can use it and improve for developers community
Upvotes: 1