Skip to content

EasyConceptAndroid and Kotlin

Explain the Activity lifecycle.

What a good answer covers

onCreate, onStart, onResume (visible and interactive), onPause, onStop and onDestroy. Configuration changes such as rotation recreate the activity unless handled, so state must be saved or held in a ViewModel.

More on Android and Kotlin

Flashcards for this topic