I’m developing an android application and i’m almost done, and in order to have a good application i wanted to know how to properly implement the onDestroy method, i mean do i have to call the garbage collector or set everything to null?
thanks in advance..
If you have a database opened,or a opened cursor you can close them in onDestroy() method.System will automatically call gc when it is necessary.