The Android Activity Lifecycle
Everything has a lifecycle. You have to believe it's going to change. - Les Wexner Source: https://www.famouslogos.us/android-logo/ An activity is the backbone of most Android development work and its lifecycle is something an Android developer encounters every day of his life. Being well aware of these and understanding them well will definitely help solve many problems an Android developer encounters. This blog post gives a brief introduction about what an activity is and the lifecycle it goes through. ACTIVITY Before we go about understanding what and how the Android activity lifecycle functions, we must first know what an activity is. Activity is actually a class and is a fundamental component of an Android application as the code is initiated in an instance of the Activity class by invoking callback methods which will be touched upon shortly. The different callback methods correspond to the different activity lifecycle stages. The activities thus serve a...