This question has already been answered:
- Fragments or individual activites 2 responses
When should I create activations and when should I use fragments?
Sample application:
I will have a map with location definitions, before that I want to make a loading screen while the map is immersed. After the address is determined, there will be a button for placing the order (there will be a form for this). Then you can see where the machine is moving with the orders. There will also be a registration window if the user is not registered.
How to organize it all right? What principle of construction should a window be?
I want to use the Navigation Drawer Activity and I can’t understand that I need to create a new activation and about 5 xml files for each window (settings, order form, registration, map, etc.) or create one activation for 10 windows and try to shove everything into a fragment.