Page 1 of 1

How to load image asynchronous?

Posted: 25 Dec 2019, 04:17
by peerlessDJ
Hi!
l have a ListBox to display image, and 2MB per image. When xaml is loading, the UI Thread will block.
I am a C# newer,soi found a solution in stackoverflow.https://stackoverflow.com/questions/160 ... load-async
1577243702(1).png
1577243702(1).png (8.36 KiB) Viewed 3594 times
1577243721(1).png
Those images are not loaded asynchronous in my example

Re: How to load image asynchronous?

Posted: 05 Jan 2020, 14:51
by jsantos
The attribute IsAsync is not implemented. In the next major version we have implemented hot-reloading of resources. That feature can be also used for loading resources in the background. Could you please open a ticket about it? Thanks