Previously I posted this question on Qt sdk
How to add more items in QListWidget ?
Below is the code I am using, it gives error as "memory full" in device (N8)
void gotItem(IndividualSearchData *item)
Cell* cell = new Cell();
QListWidgetItem *dataItem= new QListWidgetItem(ui->listWidget);
Cell is a sub class of of QWidget and contains three labels "title", "discription" and pass url as parameter.
The cell download the image from this url.
The gotItem method is called for about 400-500 times(whenever we get data from server)
I checked with memory, it keeps on increasing, but how to reduce this ?
Please let me know how to achieve this.
The thing is I get Data from the server after parsing I get 3 strings one for title one for description and string as url, I need to down load the image and show it.
I want show the text data first(title and description) and then image as it downloads from the server.
I have tried without image and reducing the items around 100-150 still memory keep on increasing.
Thanks in advance