Android Programming and Technical Programming Technical

Explain android activity life cycle?

Options
1) onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop() −> onActivityDistroy() −> onDestroy()
2) OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onRestart() −> onDestroy()
3) OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
4) OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onDestroy()


Read Solution (Total 0)

Android Other Question

What is anchor view?

Options
1) Same as ListView
2) provides the information on respective relative positions
3) Same as relative layout
4) None of the above
What is the life cycle of foreground activity in android?
Options
1) onCreate() −> onStart() −> onResume() −> onStop() −> onRestart
2) onCreate() −> onStart() −> onResume() −>onStop()
3) onCreate() −> onStart() −> onResume()
4) None of the Above