An Activity for each action or several actions in the same Activity?

0

I'm wondering how to use Android's Activity.

Use as a controller , passing everything that will be managed from model , or do I make one for each "screen"?

Example: I have the initial screen that chooses the action, A Screen that creates Event, A screen that lists Events, A screen that shows specific event.

Do I create an Activity for each, or do I have an EventActivity that controls all requests?

    
asked by anonymous 28.05.2017 / 21:16

1 answer

1

Ideally, you should have an activity for each of your screens.

You can read more about how activities work in documentation .

Do not forget to declare the activity in AndroidManifest.xml

    
29.05.2017 / 18:36