static-var/vlr-gg

BottomNavigationBar is redrawn when moving between home screen destinations

Closed this issue · 2 comments

When navigating between destinations on the main screen the bottom bar is redrawn for each destination, which should not be the case.

Passing in NavState as an input is causing the unnecessary recomposition when you can lean on AndroidX NavController to figure out the currently active destination and pass around inputs like selected/unselected icon using a holder class like this.

Should be fixed here
da4d738

It's fixed