0
When should you use a fragment rather than an activity?
When there are ui components that are going to be used across multiple activities.
When there are multiple views that can be displayed side by side (viewPager tabs)
When you have data that needs to be persisted across Activity restarts (such as retained fragments)
0 Answer(s)
Login Required
Please login to submit an answer.