I want to clear the activity stack when the user comes back to the dashboard screen. To achieve only one entry point for all the links I have on the dashboard.
How to clear all the activity stacks programmatically?
I know one option of firing the Intent of dashboard activity with the Intent.CLEAR_TASK
and Intent.NEW_TASK
flag.