pocheshire / BottomNavigationBar

Bottom Navigation Bar for Xamarin
214 stars 70 forks source link

Navigating to new fragment, then back to BottomNavigationBar fragment #45

Closed c-lamont closed 7 years ago

c-lamont commented 7 years ago

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

c-lamont commented 7 years ago

This is a problem with fragments and not related to the navigation bar.