peerlessDJ
Topic Author
Posts: 15
Joined: 28 Jan 2019, 06:37

How to load image asynchronous?

25 Dec 2019, 04:17

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 452 times
1577243721(1).png
Those images are not loaded asynchronous in my example

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2959
Joined: 20 Jan 2012, 17:18
Contact:

Re: How to load image asynchronous?

05 Jan 2020, 14:51

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

Who is online

Users browsing this forum: No registered users and 1 guest