So, I have several ImageViews in one action, and they all use the same bitmap image from the resource.
ImageViewOne.setImageResource(R.drawable.frequently_used_image); ImageViewTwo.setImageResource(R.drawable.frequently_used_image); ImageViewThree.setImageResource(R.drawable.frequently_used_image);
Does android collect memory to load a bitmap once and reuse it for all other ImageViews using the same resource? Or does it load a bitmap every time it is set to ImageView?
Thanks!
source share