Пример #1
0
        private void DisplayFragment()
        {
            Fragment            fragment = AddOrderSecondFragment.GetInstance();
            FragmentTransaction ft       = FragmentManager.BeginTransaction();

            ft.Replace(Resource.Id.frame_container, fragment, fragment.Class.Name);
            ft.AddToBackStack(null);
            ft.Commit();
        }
        public static Fragment GetInstance()
        {
            AddOrderSecondFragment fragment = new AddOrderSecondFragment();

            return(fragment);
        }