mobiledevpro / closetalk.app

Chat App | Android, Jetpack Compose, modularization, MVI
https://closetalk.app
Apache License 2.0
230 stars 20 forks source link

Why `nestedNavGraph`and `bottombar ` initialized multiple times?maybe.. #5

Open est7 opened 1 year ago

est7 commented 1 year ago

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

dmitriy-chernysh commented 1 year ago

Thanks for reporting. I will be taking a look

est7 commented 1 year ago

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 commented 1 year ago

I'm really new to compose...

Sharabaddin commented 1 year ago

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