Hey,
I've got a short question, I'm far away of a pro in programming and never used a large amount of bitmaps, but now I want to and I've got a question.
If I've got a given Bitmap
an its size is about 100kb for example.
Now I've got a list with 10 empty bitmap objects in it.
When I do this:
What is the size of the used memory of the SampleBitmapList?
Is it only 100kb because every object points to the bitmap thats already in the memory, or does every object in the list have the size of 100kb, so its about 1000kb?
A lot of years ago I had this in school, but i can't remember what is the right thing. I hope i described it good enough, that you can understand what i mean
I've got a short question, I'm far away of a pro in programming and never used a large amount of bitmaps, but now I want to and I've got a question.
If I've got a given Bitmap
B4X:
Dim SampleBitmap as Bitmap
an its size is about 100kb for example.
Now I've got a list with 10 empty bitmap objects in it.
When I do this:
B4X:
For x = 0 to SampleBitmapList.size - 1
Dim HelpBitmap as Bitmap
HelpBitmap = SampleBitmapList.get(x)
HelpBitmap = SampleBitmap
next
What is the size of the used memory of the SampleBitmapList?
Is it only 100kb because every object points to the bitmap thats already in the memory, or does every object in the list have the size of 100kb, so its about 1000kb?
A lot of years ago I had this in school, but i can't remember what is the right thing. I hope i described it good enough, that you can understand what i mean