I have an ArrayList of objects that each of which has a reference to a bitmap.
if I use ArrayList.remove or ArrayList.clear, to remove an object or all of them respectively,
do I need to set the reference to the bitmap to null first or does the remove/clear does it?
I ask this for memory concern, of course.
When you want to clear memory of a bitmap object you should use it recycle method.
Thats how the memory associated with the bitmap is cleared. As additional phone memory is used to store information of the bitmap pixel values which will be cleard using the recycle function.