I am to the point in the design of my first applicat开发者_StackOverflow中文版ion where I am going to go back through my code and implement the life cycle management. Other than saving state of variables, what are good practices for each of these methods?
For example: clearing animations?
I know the question is sort of vague, but am wondering what your "to-do" list looks like when you are implementing these methods.
Thanks!
- Closing a DB connection.
- Stopping the media player.
- Terminating an active connection, if any
Depends upon the kind of application you are programming.
精彩评论