Hi all I'm trying to add navigation and not sure i...
# compose
a
Hi all I'm trying to add navigation and not sure if doing it wrong... https://github.com/alorma/AC-Community/commit/4988aa39985c215d755d896d494ed5f444d25a1b I have a
HomeScreen
with BottomNavigation with 3 items. Also, i would want other screens without BottomNavigation
I not see the items on HomeScreen, the HomePart
i
We had just talked about hiding/showing the bottom nav on certain destinations a while ago: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1620346074115700
a
thanks, I've found another way usssing a different navHost inside HomeScreen
i
That previous conversation specifically says that you should not do that
a
I will read it... just looking around by now
uhmmmmm
but if i do that, I'm forced to havbe the same top bar to all composabales too?
i
What makes you think that also can't change based on what destination you're on?
a
uhmm
it seems weird to have the TopBar outside the "internal" composables, sso many things can be coupled / decoupoled...
a
I'm starting to think that we are overengineering compose, with all lambdas and passing things around 😅
i
I think that thread covers why building stateless composables that you can test and preview in isolation from the rest of the system is a good thing. You are testing and previewing your individual composables right? 😅
a
What means "testing"? 🧌
😂 2