Multiple-Backstack-Navigation icon indicating copy to clipboard operation
Multiple-Backstack-Navigation copied to clipboard

handle a case, when start bottom nav position != 0

Open nazariyshkarlat opened this issue 4 years ago • 2 comments

I propose to have an opportunity to set a start bottom navigation page. also, I added setPrimaryNavigationFragment(navHostFragment) (line 220) to correctly handle onBackPressed() on this start page.

nazariyshkarlat avatar Feb 05 '21 11:02 nazariyshkarlat

@nazariyshkarlat is there a special case that brings out the possibility of using another position as initial?

vipulasri avatar Mar 14 '21 11:03 vipulasri

I have a requirement for setting the 3rd menu as the default menu when the app is opened.

But in @nazariyshkarlat solution, the First fragment is opening and then switching to the default fragment. So the solution is not so elegant.

amit7127 avatar Apr 26 '21 19:04 amit7127