This may be a silly question, I don't know.
I have an Activity where I will be creating panels using code, then after a while I will remove them and create new panels. There could be 50-100 panels created at a time. Before I create the new set of panels, I use Panel123.RemoveView() to get the old panels off the screen. Does this also destroy the memory used by the old panel? Or do I have to worry about the removed views still taking up memory? If so, what is the best way to dispose of views when they are no longer needed?
TIA
Widget
I have an Activity where I will be creating panels using code, then after a while I will remove them and create new panels. There could be 50-100 panels created at a time. Before I create the new set of panels, I use Panel123.RemoveView() to get the old panels off the screen. Does this also destroy the memory used by the old panel? Or do I have to worry about the removed views still taking up memory? If so, what is the best way to dispose of views when they are no longer needed?
TIA
Widget