Interviews1 answer
Android: What is a Fragment? How it Differs from Activity?
1 Answer
Activity is a Screen from which user interacts. Fragment is basically a Sub Activity. While creating an Android Application we usually create one activity (Main Activity) and N numbers of Fragments. Activity and Fragments have their own lifecycle
Jejji AroraPosted Jul 3, 2024, 10:21 AM EDT
