I am writing an application for the universal Windows platform where I need to upload some images for display in a list. Now my problem is that this download takes too much time for the user. Currently, I set the source images XAMLusing a bind, for example: {Binding Image}.
I only have access to full resolution images, so I would like to know if there is a way to make these images smaller before placing them in the user interface, so only a small image should remain in memory. Is there a way to customize the user interface element Imageso that it performs this resizing itself?
Also, is there any way to download these images lazily, because now my user interface is blocked from loading these images.
Edit: the code I use to upload my local images to mine Image(this is inside ListView.ItemTemplate):
<Image
Grid.Row="0"
Source="{Binding Image}"
Stretch="Uniform"
VerticalAlignment="Center"/>
source
share