¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

MAPP

Shubham Gavate Inglés 2 páginas

Contenido del apunte (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

Información

Descripción
Apunte sobre MAPP, creado por Shubham Gavate el 08/03/2020.
Creado por
Shubham Gavate
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?