Hi there, I've got an game app displaying a lot of images that need to be processed before being displayed. The set of images need to be refreshed with new ones every 2 seconds.
to speed up the display : While the first set of images is displayed, I'd like to prepare in background the next set.
I've got a specific class "board" that I could call in background to generate the "nextSet" while "currentSet" is being used by the player.
What is the best way to do it ?
Threads seems to be the thing to do ... is yes, do where may I find some examples of code triggering that generation in background ?
cheeerio,
Tibi.