Android: Order of statements in onDestroy() method -


If I rotate on the screen, I override the directory () method of my main activity to recycle bitmap. , Then suppose .butmap.recycle () before or after .onDestroy ()? What is this?

The order does not matter. There is nothing other than the base implementation of OnDestroy (), which you have said it to. Some derived classes (such as ListActivity) can do something, but you will be fine until you try to use any of your position after calling the derived class.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -