I have a table with around 250 rows in it and each table cell has some labels and one remotely loaded image.
I wanted to speed up the loading of the image by creating an extension of Ti.UI.ImageView that caches the remote images on disk so they only have to be fetched once (they don't really change) and can be loaded from disk afterwards.
This works, but is really slow because I call the createCachedImageView 250 times and it fetches them all at once.
Is there any event on a table view row that gets fired after it is shown (so I could defer loading of the remote image until that point)? Or does anyone have any other idea on how to handle this situation?
You can try to load 10 rows first time, and if the user scrolls down, the next 10 rows and so on.
Here is a sample create by Dawson Toth
Think you can help? Login to answer this question!