public void Exit(Fragment specificFragment)
 {
     Exit(specificFragment, true);
 }
 public void Enter(ref Fragment nextFragment)
 {
     Enter(ref nextFragment, true);
 }
        bool HandleLongBackPress()
        {
            Fragment activeFragment = GetTopFragment();

            return(activeFragment != null && activeFragment.OnLongBackPressed());
        }
        bool HandleHomePressed()
        {
            Fragment activeFragment = GetTopFragment();

            return(activeFragment != null && activeFragment.OnHomePressed());
        }
 void FragmentEnterStack(Fragment fragment)
 {
     fragmentStack.Add(fragment);
     fragment.OnEnterStack();
 }