FlashKeepers

Kotlin · College · College and University

Android and Jetpack Compose Basics

Android app components, activity lifecycle, Compose composables, state hoisting, ViewModel, Room and navigation.

About this set

40 basic cards for College Kotlin. It opens with "What is an Android Activity?" and "What is the first lifecycle callback in an Activity?". Study it alongside the other College sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is an Android Activity?
Show answerThe main UI component for user interaction; one screen in an app
What is the first lifecycle callback in an Activity?
Show answeronCreate()
What lifecycle callback is invoked when the Activity becomes visible?
Show answeronStart()
What lifecycle callback is invoked when the Activity starts receiving user input?
Show answeronResume()
What lifecycle callback is invoked when the Activity loses focus?
Show answeronPause()
What lifecycle callback is invoked when the Activity is no longer visible?
Show answeronStop()
What is onDestroy in the Activity lifecycle?
Show answerThe final callback before the Activity is destroyed and memory is reclaimed
What is an Intent in Android?
Show answerA messaging object used to request an action from another app component
What is a Service in Android?
Show answerAn app component that performs long-running operations without a UI
What is a BroadcastReceiver?
Show answerA component that receives and responds to broadcast messages from the system or other apps
What is a ContentProvider in Android?
Show answerA component that manages access to a shared set of app data
What is a Fragment?
Show answerA reusable piece of UI that can be hosted by an Activity or another Fragment
What is Jetpack Compose?
Show answerA modern, declarative UI toolkit for building native Android UIs
What is a Composable function?
Show answerA function marked with @Composable that describes a piece of UI
What does the @Composable annotation do?
Show answerIt marks a function as a Composable that can emit UI

25 more cards in the app

Study this set free