Activity and Fragment Lifecycle - Android
Shoaib Ahmed

Shoaib Ahmed @shobu95

About: I'm a Mobile Application Development enthusiast and I work on technologies such as Android, Java, Kotlin, Angular, Flutter and Spring.

Location:
Karachi, Pakistan
Joined:
Dec 4, 2020

Activity and Fragment Lifecycle - Android

Publish Date: Apr 24 '22
0 0

Activities are one of the most crucial app components in #Android #Development. They serve as the basic entry points into our app and contains our user interface.

Activities have their own life-cycle, which is a set of callbacks initiated at a particular activity state.

To know them better, I have made a repository which helps to understand the flow of these life-cycle callbacks. I have placed block comments over each callback function explaining their initiating state/condition and what sort of code should be placed in them. This also covers the life-cycle of fragments as well.

Just clone, run, perform flows and observe your callback in the logcat. Don't forget to star it is you like it.

NOTE: #Jetpack #Compose version coming soon...
LINK: https://github.com/Shobu95/Lifecycle-ActivitiesAndFragments

Comments 0 total

    Add comment