Created
May 15, 2014 18:04
-
-
Save warpdesign/7fd755827163ed5cb008 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onShouldStartActivity() { | |
// creation of intent to start activity2 | |
Intent intent = new Intent(this, Activity2.class); | |
startActivity(intent); | |
// Following the documentation, right after starting the activity | |
// we override the transition | |
overridePendingTransition(R.anim.activity_in, R.anim.activity_out); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment