I'm new to Xamarin;
I need to know how to switch page(view?) on button click in a .cs file, by keeping the current(custom) bottom bar and its selected icon
If I simply use:
MainPage = new xPage();
or something like
MainPage = new NavigationPage(new xPage());
The bottom bar disappears, because the main page is a type of CustomBottomBar(a custom TabbedPage)
I also tried by searching the bottom bar's button functions, and the default page used by this(which is not Xamarin Main Page but is HomePage.xaml, in Views folder), but I gone into an endless black hole since I didn't find anything about by searching keywords or references with VS.
How can I do?
I'm starting by developing a simple app by this base, you can also find the CustomBottomBar I'm using there: https://github.com/aimore/XamUI/tree/master/XamFood
Thank you in advance for the help