Loading images in the background

Hi,

We have a scroll view with lots of images, too much to have all of them in memory at once.

Is it possible to load images in the background (non-blocking) to create a scrollview with a good user experience by dynamically reloading content while scrolling? With the current blocking way of loading images that`s not really a possibility.

As an alternative:

What about hardware compression for textures? Are there any plans to support it in the future?

Best regards

Hi @JoshK,

Yes, you can pre-load textures into memory through a more advanced process (not common or needed for most developers, but it’s allowed). Please see the following guide to get started on this:

https://docs.coronalabs.com/guide/graphics/textureManagement.html

Best regards,

Brent

Hi @JoshK,

Yes, you can pre-load textures into memory through a more advanced process (not common or needed for most developers, but it’s allowed). Please see the following guide to get started on this:

https://docs.coronalabs.com/guide/graphics/textureManagement.html

Best regards,

Brent