I have one activity
which I start with different parameters
. I set parameters with intent
help. Each parameter have own separate action.
This activity has GridView
with content which depends from income parameters.
First start:
Intent intent = new Intent(this, ArticlesListActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
Second start:
startActivity(new Intent(ArticlesListActivity.this, ArticlesListActivity.class));
Third start:
Intent intent = new Intent(this, ArticlesListActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
I need to start this Activity
with first parameters, then with other parameters and then again with first parameters. And when I make third launch I need this will be single Activity
of Application
. Are there a way to do this?