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

Don't clear navigator on changing configurations #84

Merged
merged 3 commits into from
Nov 24, 2022

Conversation

Syer10
Copy link
Contributor

@Syer10 Syer10 commented Sep 28, 2022

Closes #62

Check if the activity is changing configurations before clearing the navigator.

A quick way to test this in the sample app is using the Livedata Intigration, without this fix it creates new data on every rotation, where this clears data only when destroying the activity.

Note that this fix is included in my fork of Voyager https://github.com/Syer10/voyager

@adrielcafe adrielcafe merged commit 0885db1 into adrielcafe:main Nov 24, 2022
@Syer10 Syer10 deleted the fix-configurations branch May 7, 2023 19:28
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

Successfully merging this pull request may close these issues.

screen model doesn't survive the configuration changes
2 participants