Exemple #1
0
        public static CenteredTextFragment createFor(String text)
        {
            CenteredTextFragment fragment = new CenteredTextFragment();

            Bundle args = new Bundle();

            args.PutString(EXTRA_TEXT, text);

            fragment.Arguments = args;

            return(fragment);
        }
        private void Adapter_ItemSelected(object sender, int e)
        {
            if (e == POS_LOGOUT)
            {
                Finish();
            }

            slidingRootNav.CloseMenu();

            Fragment selectedScreen = CenteredTextFragment.createFor(screenTitles[e]);

            ShowFragment(selectedScreen);
        }