Is it always needed to conserve phone memory? I’d like to know so I can optimize my android application that I’m currently developing.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. There is a default implementation of
onDestroy()that you inherit, that will handle cleaning up stuff created by the activity itself. You overrideonDestroy()if there are additional things that you created that you wish to clean up, and you determine that waiting untilonDestroy()is the right answer.