Add content into Activity Section (#27625)

This commit is contained in:
Anugrah Rochmat
2018-12-27 00:47:06 +07:00
committed by Christopher McCormack
parent b3f76eea3b
commit 62884faa2e

View File

@ -12,6 +12,10 @@ Core components are the essential elements contained in an Android app. Each of
### [Activities](https://developer.android.com/guide/components/activities/)
An _activity_ is a component that has a user interface and represents a single screen in an Android app. An app can have multiple activities, each of which can be an entry point to the application itself for the user or the system (an app's activity that wants to open another activity that belongs to the same application or to a different one).
An activity facilitates the following key interactions between system and app:
- Keeping track of what the user currently cares about (what is on screen) to ensure that the system keeps running the process that is hosting the activity.
#### [Activity Lifecycle](https://developer.android.com/guide/components/activities/activity-lifecycle)
![Activity Lifecycle](https://developer.android.com/images/activity_lifecycle.png)