Search⌘ K
AI Features

Activity

Explore the concept of Android activities, which represent individual screens in an app, and learn how to create them in Kotlin. Understand the activity lifecycle and how managing it helps control app behavior and resources efficiently. This lesson also covers declaring activities in the AndroidManifest.xml and working with AppCompatActivity for compatibility.

We'll cover the following...

Activity concept

Activity is one of the core components of Android. It represents one screen of the application user interface.

Usually, an Android application consists of several activities, e.g. the “Travel Blog” application may contain the following activities:

  • LoginActivity - represents login flow
...