Activity is one of the instances of an android application and we can create activities in android application. Each has it’s own life cycle and callbacks. Lifecycle has been managed by android operating system. An android application existing either in one of the following state of lifecycle.
- Start – UI is visible now
- Pause – UI is Partially visible
- Stop – UI is Hidden
Callback functions in activity class