archiveWhat is the activity in android

Android development

Explain activity in android and Activity lifecycle

Explain activity in android and Activity lifecycle In this post, we are going to discuss ‘Activity’, what is the activity, Activity Lifecycle, Activity Method. let start on discussing. What is the activity? Activity is a Java code that supports a screen or UI. In other words, a building block of the user interface is the activity. Activity class is a pre-defined class in Android and every application which has UI must inherit it to create a window. Let us create a simple application that displays the current time when you just tap...