hi
i want to display loading (spinning, throbber) image while am i loading remote image. everything is fine, i got this working, but i found different ways how to do this and i would like to know, which one is the best in terms of performance. imagine that i got big table with plenty of images (f.e. 100+) and each row is loading remote image, so each row displays loading image first.
my questions:
about the image:
use imageView with array of images, OR
use 1 image and rotate it in the code
can i reuse one imageView multiple times (the same imageView on each row) ?
about hiding loading image:
hide loading image and show remote image (keep 2 imageView for each row), OR
remove hiding image from the view when remote image is loaded, OR
replace loaded remote image in the loading imageView (i didn't found the way how to do this)
my working code: https://gist.github.com/824350
thanks