Created
January 29, 2018 20:03
-
-
Save caseykulm/69b004b91a31e6cb47ec7a537c81bb10 to your computer and use it in GitHub Desktop.
Launch Multiple Activities in sequence - https://stackoverflow.com/a/10807848/1229735
This file contains hidden or 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 class LaunchExample { | |
public void launchManyActivities() { | |
Intent i = new Intent(this, A.class); | |
i.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); | |
startActivity(i); | |
Intent j = new Intent(this, B.class); | |
j.setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION); | |
startActivity(j); | |
Intent k = new Intent(this, C.class); | |
startActivity(k); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment