Explain android activity life cycle?
onCreate() −> onStart() −> onActivityStarted() −> onResume() −> onPause() −> onStop() −> onActivityDistroy() −> onDestroy()
OnCreate() −> onStart() −>onResume() −> onPause() −> onStop() −> onRestart() −> onDestroy()
OnCreate() −> onStart() −> onPause() −> onResume() −> onStop() −> onDestroy()
->onResume()