When you call dismiss() in a dialog box, in addition to hiding it, does it also delete it from memory? Does it remove all objects that were placed inside the dialog box, such as ImageViews , Buttons , etc. From memory?
Is there a way so that I can free the memory of these objects myself and not wait for the garbage collector to do this?
source share