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

Compose MultiScreen lose state during navigation back #14

Open
ikarenkov opened this issue May 9, 2022 · 1 comment
Open

Compose MultiScreen lose state during navigation back #14

ikarenkov opened this issue May 9, 2022 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ikarenkov
Copy link
Owner

What is wrong?

MultiScreen doesn't use StateHolder and SaveableStateProvider as ComposeRenderer do. Watch video to compare MultiComposeScreen and ComposeRenderer behavior.

MultiScreen state lost

How to fix?

We should reuse ComposeRenderer logic in MultiComposeScreen. Also we can add nested screen stack support as spacial case of MultiComposeScreen

@ikarenkov ikarenkov added bug Something isn't working enhancement New feature or request labels May 9, 2022
@ikarenkov ikarenkov self-assigned this May 9, 2022
@ikarenkov
Copy link
Owner Author

We can reuse logic from #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant