I am working on an android project where memory management is the major concern.
I have a question regarding garbage collector role.
**Suppose i am having 3 objects hold by views which have some larger data values n those values are stored thereafter.
1) So, how and when a garbage collector will release/destroy objects.
2) and out of 3 object which object will be destroyed first and why?**
when you don’t need those objects then set with
nullvalue.Garbage collector will automatically release the corresponding resources.