What are the life cycle methods of android activity?

Answer Posted / maanya

There are 7 life-cycle methods of activity. They are as follows:
onCreate()
onStart()
onResume()
onPause()
onStop()
onRestart()
onDestroy()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the activity lifecyle callbacks?

534


Define the exceptions of android?

508


What is drawable folder in android?

546


What do you mean by android sdk?

491


What items are important in every android project?

500






what is activity context?

482


Given a table data (click to see the figure). And assume that this is on a device at 160 dpi?

502


In class sqliteopenhelper class, there are 2 methods we should usually override. What are they?

515


how fragment differs from activity?

508


What is the variance between a regular bitmap and a nine-patch image?

531


What is armv7?

507


What is the risk in blocking the main thread when performing a lengthyoperation such as web access or heavy computation?

509


How would you update the ui of an activity from a background service?

530


How can I reduce my android system usage?

550


In android, which layout mode defines the positions of each component relative to each other?

496