WhoisAbel / AndroidBasicsInKotlin

In this project, you'll learn the basics of building Android apps with the Kotlin programming language. Along the way, you'll develop a collection of apps to start your journey as an Android developer.
0 stars 0 forks source link

Unit 3: Activities and Intents #36

Closed WhoisAbel closed 3 years ago

WhoisAbel commented 3 years ago

An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundamental use cases:

WhoisAbel commented 3 years ago

Intent types

image

image

WhoisAbel commented 3 years ago

Building an intent

An Intent object carries information that the Android system uses to determine which component to start (such as the exact component name or component category that should receive the intent), plus information that the recipient component uses in order to properly perform the action (such as the action to take and the data to act upon).

The primary information contained in an Intent is the following: