Clicking on a tab replaces a FrameLayout with a Fragment.
If I navigate from the Fragment holding the BottomNavigationBar, to a new fragment, then back to the BottomNavigationBar Fragment, the BottomNavigationBar is gone and the Fragment loaded into its Framelayout is also gone.
I have tried attaching the BottomNavigationBar to the Activity and to a view inside the Fragment Layout. In the Fragment, all views disappear and in the Activity, the Bottom Bar remains but the loaded fragment is gone.
I have three tabs in my BottomNavigationBar.
Clicking on a tab replaces a FrameLayout with a Fragment.
If I navigate from the Fragment holding the BottomNavigationBar, to a new fragment, then back to the BottomNavigationBar Fragment, the BottomNavigationBar is gone and the Fragment loaded into its Framelayout is also gone.
I have tried attaching the BottomNavigationBar to the Activity and to a view inside the Fragment Layout. In the Fragment, all views disappear and in the Activity, the Bottom Bar remains but the loaded fragment is gone.
Is this a bug/not possible?
Thanks Chris