Interview answers verified by specialists.

Find interview questions and answers on this website:


See right interview answers on 30 common job interview questions

What are the different phases of the Activity life cycle?

As an activity transitions from state to state, it is notified of the
  change by calls to the following protected methods:
  1) void onCreate(Bundle savedInstanceState)
  2) void onStart()
  3) void onRestart()
  4) void onResume()
  5) void onPause()
  6) void onStop()
  7) void onDestroy()
  Taken together, these seven methods define the entire lifecycle of an
  activity.