launchMode
LaunchMode is an attribute in Android development that determines how an activity is launched and how its instance is managed within tasks. It is declared in the AndroidManifest.xml on an activity element using android:launchMode. The choice of launchMode affects whether new instances are created, how intents are delivered, and how the activity participates in the task back stack.
The standard mode is the default. It creates a new instance of the activity whenever it is
singleTask ensures that only one instance of the activity exists in the system. If an instance already
singleInstance places the activity in its own dedicated task, which contains only that activity. No other activities
LaunchMode interacts with features such as taskAffinity and back-stack handling, and it influences how deep links