c# - Load large number of images from URL -


i android developer, faced problem of memory exception when loading large number of images listbox.

i have no idea windows phone application development kindly suggest better solution load large number of images listbox url in windows phone.

code below:

 public class listboxrows     {         public string text1 { get; set; }         public string imageuri { get; set; }         public string text2 { get; set; }         public string instid { get; set; }     }        <image grid.column="0" width="90" height="90" source="{binding imageuri}" ></image> 

i want know if efficient way load images url.

if have huge number of images show memory exception.

suggest me better option can load number of images efficiently without memory exceptions.

are there external projects achieve goal?

while haven't written actual code test this, think right approach here make sure use data virtualization. this article provides example (even though it's discusses windows phone 7 development, it's still applicable).

if there huge amount of data display may want go further , @ approach in this article further optimizes work display items in listbox.

of course standard disclaimer ui user has scroll through large number of items isn't best approach.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -