+ 1
Fragment vs Activity
In Android when to use Fragment and when to use Activity?
1 Answer
+ 7
Activity is the screen itself But the Fragment is a part of the screen and you can make 2 or more fragments in the same screen but you can make only one activity on the screen.you can connect the fragments using the main activity file