Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible to start another Activity and maintain the flow? #53

Closed
kkocel opened this issue Dec 23, 2014 · 1 comment
Closed

It is possible to start another Activity and maintain the flow? #53

kkocel opened this issue Dec 23, 2014 · 1 comment

Comments

@kkocel
Copy link

kkocel commented Dec 23, 2014

I'm curious it is possible to maintain flow when starting a new Activity?

@balysv
Copy link

balysv commented Dec 23, 2014

Flow is essentially a backstack of screens, so you could pass a serialized Backstack through a Bundle to another Activity and create a new Flow from it.

Parcelable backstack = flow.getBackstack().getParcelable(parcer);
intent.putExtra("BACKSTACK", backstack);
startActivity(intent);

@rjrjr rjrjr closed this as completed Jan 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants