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

Why nestedNavGraphand bottombar initialized multiple times?maybe.. #5

Open
est7 opened this issue Feb 7, 2023 · 4 comments
Open

Why nestedNavGraphand bottombar initialized multiple times?maybe.. #5

est7 opened this issue Feb 7, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@est7
Copy link

est7 commented Feb 7, 2023

When I enter HomeScreen, I find that the nestedNavGraph function is executed twice and the bottombar function is executed twice, is this a normal response?
image

@est7 est7 changed the title Wht Why nestedNavGraphand bottombar initialized multiple times?maybe.. Feb 7, 2023
@dmitriy-chernysh dmitriy-chernysh self-assigned this Feb 7, 2023
@dmitriy-chernysh dmitriy-chernysh added the bug Something isn't working label Feb 7, 2023
@dmitriy-chernysh
Copy link
Member

Thanks for reporting. I will be taking a look

@est7
Copy link
Author

est7 commented Feb 7, 2023

Composition will execute multiple times, draw only once, I dont know if drawbehind can be used for watch draw how many times,I just added this method to Scaffold and found that it was executed once.

@est7
Copy link
Author

est7 commented Feb 7, 2023

I'm really new to compose...

@Sharabaddin
Copy link

@est7 sry for offtop, what them do u use?

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

No branches or pull requests

3 participants