architecture-components-samples
architecture-components-samples copied to clipboard
NavHostFragment and CoordinatorLayout
I use the workaround for persisting multiple backstacks during navigation, which is presented in NavigationAdvancedSample. If i use CoordinatorLayout as a nav host container there are issues with width/height of contained fragment. I want to use CoordinatorLayout in order to place snackbars above BottomNavigationView and i thought why to define another layout?
The simple solution is to add two different layouts (1 FrameLayout and 1 CoordinatorLayout) but why is this happening? Is it a bug?
Ditto on this. I get a weird 'old navstack shows behind new navstack' bug whenever I select a new destination on the nav bar