Activities

An activity is an Android component that is central to the implementation of application flow and component-to-component interaction. Activities are implemented in the form of classes. An instance of an activity is used by the Android system for code initiation.

An activity is important in the creation of applications' user interfaces. It provides a window upon which user interface elements can be drawn. Simply put, application screens are created with the use of activities in mind.

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.