private void SetupBottomNavigationView() { try { NavigationTabBar = FindViewById <NavigationTabBar>(Resource.Id.ntb_horizontal); FragmentBottomNavigator = new FragmentBottomNavigationView(this); CardFragment = new CardMachFragment(); TrendingFragment = new TrendingFragment(); NotificationsFragment = new NotificationsFragment(); ProfileFragment = new ProfileFragment(); FragmentBottomNavigator.FragmentListTab0.Add(CardFragment); if (AppSettings.ShowTrending) { FragmentBottomNavigator.FragmentListTab1.Add(TrendingFragment); } FragmentBottomNavigator.FragmentListTab2.Add(NotificationsFragment); FragmentBottomNavigator.FragmentListTab4.Add(ProfileFragment); FragmentBottomNavigator.SetupNavigation(NavigationTabBar); NavigationTabBar.SetModelIndex(0, true); } catch (Exception e) { Console.WriteLine(e); } }
private void DestroyBasic() { try { BottomBar = null !; FragmentBottomNavigator = null !; SendMoneyFragment = null !; AddFundsFragment = null !; TypeOpenPayment = null !; } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void DestroyBasic() { try { BottomBar = null; FragmentBottomNavigator = null; SendMoneyFragment = null; AddFundsFragment = null; TypeOpenPayment = null; } catch (Exception e) { Console.WriteLine(e); } }
private void SetupBottomNavigationView() { try { FragmentBottomNavigator = new FragmentBottomNavigationView(this); SendMoneyFragment = new SendMoneyFragment(); AddFundsFragment = new AddFundsFragment(); FragmentBottomNavigator.FragmentListTab0.Add(SendMoneyFragment); FragmentBottomNavigator.FragmentListTab1.Add(AddFundsFragment); FragmentBottomNavigator.NavigationTabBarOnStartTabSelected(0); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void SetupBottomNavigationView() { try { FragmentBottomNavigator = new FragmentBottomNavigationView(this); SendMoneyFragment = new SendMoneyFragment(); AddFundsFragment = new AddFundsFragment(); FragmentBottomNavigator.FragmentListTab0.Add(SendMoneyFragment); FragmentBottomNavigator.FragmentListTab1.Add(AddFundsFragment); FragmentBottomNavigator.NavigationTabBarOnStartTabSelected(0); } catch (Exception e) { Console.WriteLine(e); } }