Example #1
0
        public void UpdateBreadCrumb()
        {
            String title       = GetString(Resource.String.title_sessions);
            String detailTitle = GetString(Resource.String.title_session_detail);

            if (mFragmentManager.BackStackEntryCount >= 1)
            {
                mFragmentBreadCrumbs.SetParentTitle(title, title, this);
                mFragmentBreadCrumbs.SetTitle(detailTitle, detailTitle);
            }
            else
            {
                mFragmentBreadCrumbs.SetParentTitle((string)null, null, null);
                mFragmentBreadCrumbs.SetTitle(title, title);
            }
        }
Example #2
0
        public void UpdateBreadCrumb()
        {
            String title = (mPopupType == POPUP_TYPE_SESSIONS)
                        ? GetString(Resource.String.title_sessions)
                        : GetString(Resource.String.title_vendors);
            String detailTitle = (mPopupType == POPUP_TYPE_SESSIONS)
                        ? GetString(Resource.String.title_session_detail)
                        : GetString(Resource.String.title_vendor_detail);

            if (mFragmentManager.BackStackEntryCount >= 2)
            {
                mFragmentBreadCrumbs.SetParentTitle(title, title, this);
                mFragmentBreadCrumbs.SetTitle(detailTitle, detailTitle);
            }
            else
            {
                mFragmentBreadCrumbs.SetParentTitle((string)null, null, null);
                mFragmentBreadCrumbs.SetTitle(title, title);
            }
        }