Notas
MAPP
Conteúdo das notas (2)
Página 1
What is an Activity in Android?
-> Whenever you open an Android application, then you see some UI over your screen. That screen is called an Activity. It is the basic component of Android and whenever you are opening an application, then you are opening some activity.
For example, when you open your Gmail application, then you see your emails on your screen. Those emails are present in an Activity. If you open some particular email, then that email will be opened in some other Activity.
There is a life cycle associated with every Activity and to make an error-free Android application, you have to understand the life cycle of Activity and write the code accordingly.
Android Activity Lifecycle
An Android activity undergoes through a number of states during its whole lifecycle. The following diagram shows the whole Activity lifecycle:
Página 2
Informações
- Descrição
- Notas sobre MAPP, criado por Shubham Gavate em 08-03-2020.
- Criado por
- Shubham Gavate
- Visualizações
- 0
- Avaliação