In what situations would you use Multiple Activities for in Android?
Multiple Activities in Android?
I think the biggest importance to care is that if you are navigating between screens of your application, don't use activities.
When you launch another activity it goes to the operating system, and asked can you launch this intent?
And the operating system goes and searches, oh you have an activity that can handle this intent, Let me launch that activity. so you're going through the OS just to go to your next screen. and that's where you want to be anyway.
so your activities are your API to the rest of the OS and you need the launcher activity because that's what the launcher uses to start your application. Is there anything else you need? fine put it by otherwise, you really don't need another activity in the application.
you can Go with a single activity and no fragments with Compose.