I am trying to create a new instance of an activity from within the same class of the activity. For instance I have a Activity called Settings.
Intent intent = new Intent(Settings.this, Settings.class);
intent.setFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra("ShowBookmarks", true);
startActivity(intent);
And in my AndroidManifest I don't have any launch options set, though I have tried with singleTop and a couple others.
The goal is to display different data in the same controls (Recycler view, etc), and then be able to click back to show the previous data.