एक Activity हे एक एकल स्क्रीन प्रतिनिधित्व करते ज्यामध्ये user interface असते — एक मूलभूत Android component. त्याचा lifecycle (states आणि callbacks चा क्रम जो तो create, show, hide आणि destroy होतो) हा resources आणि state योग्यरित्या manage करण्यासाठी समजणे महत्वाचे आहे.
Activity म्हणजे काय
An ACTIVITY = one screen of the app (a UI the user interacts with):
→ an app is typically several activities (a login screen, a home screen, etc.)
→ the OS manages activities and calls LIFECYCLE methods as their state changes
