If I have, say 20+, image views and load them all with the same bitmap does each one make a copy of the image in memory or do the imageviews simply point to the same bitmap image.
In other words is:
dim imv(20) as imageview
for i = 0 to 19
less efficient than:
dim bmp as bitmap
dim imv(20) as imageview
bmp.Initialize(File.DirAssets, "image.png")
for i = 0 to 19
In other words is:
dim imv(20) as imageview
for i = 0 to 19
imv(i).bitmap = LoadBitmap(File.DirAssets, "image.png")
nextless efficient than:
dim bmp as bitmap
dim imv(20) as imageview
bmp.Initialize(File.DirAssets, "image.png")
for i = 0 to 19
imv(i).bitmap = bmp
next