Beispiel #1
0
 public override void OnHiddenChanged(bool hidden)
 {
     base.OnHiddenChanged(hidden);
     if (!hidden)
     {
         ShowBackOnActionBar();
         itemListFragment.SetSelectedItem(currentSelectedPosition);
     }
 }
        public override void OnHiddenChanged(bool hidden)
        {
            base.OnHiddenChanged(hidden);

            if (!hidden)
            {
                // Current view is detail view
                if (ChildFragmentManager.BackStackEntryCount == 2)
                {
                    ShowBackOnActionBar(true);
                    OnBackPressed();
                }
                itemListFragment.SetSelectedItem(currentSelectedPosition);
            }
        }