Android Question Change orientation: What about the views' memory used (imageviews/bitmaps)?

KMatle

Expert
Licensed User
Longtime User
What happens to imageviews (with bitmaps) when the orientation is changed. Are these freed by Android's garbage collector?

As we know "Activity_Create & Resume" is called.

Question: What if the user turns the screen a lot of times in a short time? (= not freeing of images may lead to out of memory problems)?

Though the images are very small (as small it is useful by loading them with bitmapsample) I don't know what happens then on devices with smaller RAM than f.e. 2 GB.
 
Top