What is Activity Lifecycle in Android — Explain with App Demo

Graphical Representation of Activity-Lifecycle
Graphical Representation of Activity-Lifecycle
  • onCreate()
  • onStart()
  • onResume()
  • onPause()
  • onStop()
  • onDestroy()
  • * onDestroy() method also called only once throughout the whole activity-lifecycle.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Golap Gunjan Barman

Golap Gunjan Barman

Hi everyone, myself Golap an Android app developer with UI/UX designer.