Not quite sure how to explain it, so showing some codes will definitely help me.
Intent i = new Intent(Main.this, screen1.class);
i.putExtra("uid", username);
i.putExtra("pwd", password);
startActivity(i);
/** Fading Transition Effect */
overridePendingTransition(R.anim.fadein, R.anim.fadeout);
I want to start another activity while passing some strings over with intent. My problem is the overridePendingTransition is not working I believe because of the intent.
I know when ever I do this:
startActivity(new Intent(Main.this,
screen1.class));
Main.this.finish();
/** Fading Transition Effect */
overridePendingTransition(R.anim.fadein, R.anim.fadeout);
The overridePendingTransition works just fine.
Could anyone help please?