R raaiman Member Licensed User Longtime User Mar 20, 2013 #1 Q: 1.when using "Designer". if the layout content two ImageView those are set to the same picture, whether the picture will be load twice?
Q: 1.when using "Designer". if the layout content two ImageView those are set to the same picture, whether the picture will be load twice?
AllyAndroid Member Licensed User Longtime User Mar 21, 2013 #2 Yes, I have a game board with 16 image views that I setup in Designer and I attached the same image to all 16 of them. All are loaded with the same image. Upvote 0
Yes, I have a game board with 16 image views that I setup in Designer and I attached the same image to all 16 of them. All are loaded with the same image.
R raaiman Member Licensed User Longtime User Mar 21, 2013 #3 AllyAndroid said: Yes, I have a game board with 16 image views that I setup in Designer and I attached the same image to all 16 of them. All are loaded with the same image. Click to expand... i know it works well. i just want to know the pic will load to bitmap once or more Upvote 0
AllyAndroid said: Yes, I have a game board with 16 image views that I setup in Designer and I attached the same image to all 16 of them. All are loaded with the same image. Click to expand... i know it works well. i just want to know the pic will load to bitmap once or more
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2013 #4 The bitmap will be loaded multiple times. I do plan to change this behavior in one of the next updates (as well as using LoadBitmapSample instead of LoadBitmap). Upvote 0
The bitmap will be loaded multiple times. I do plan to change this behavior in one of the next updates (as well as using LoadBitmapSample instead of LoadBitmap).
R raaiman Member Licensed User Longtime User Mar 21, 2013 #5 Erel said: The bitmap will be loaded multiple times. I do plan to change this behavior in one of the next updates (as well as using LoadBitmapSample instead of LoadBitmap). Click to expand... OK , i expect that. Upvote 0
Erel said: The bitmap will be loaded multiple times. I do plan to change this behavior in one of the next updates (as well as using LoadBitmapSample instead of LoadBitmap). Click to expand... OK , i expect that.