Skip to content

Instantly share code, notes, and snippets.

@caseykulm
Created January 29, 2018 20:03
Show Gist options
  • Save caseykulm/69b004b91a31e6cb47ec7a537c81bb10 to your computer and use it in GitHub Desktop.
Save caseykulm/69b004b91a31e6cb47ec7a537c81bb10 to your computer and use it in GitHub Desktop.
Launch Multiple Activities in sequence - https://stackoverflow.com/a/10807848/1229735
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