Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 65
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)
My Carrier: MY COMPANY

How do I do a cache images and then display in ListView.

I am using a arraydatamodel to display cached images .these images coming from the Internet. Is there any way to lazy load the images so while the text displays, the UI is not blocked and images are displayed as they are downloaded?




the above link is not working as i want because the number of images are more than hundred.



Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: How do I do a cache images and then display in ListView.

Do you need to cache them across app opens? You could just change the cache size in that class to be whatever you want it to be, or you could use a QNetworkDiskCache to do some level of caching for you.
Like all of my posts