BottomNavigationBar is redrawn when moving between home screen destinations
Closed this issue · 2 comments
msfjarvis commented
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.
static-var commented
Should be fixed here
da4d738
msfjarvis commented
It's fixed