Ejemplo n.º 1
0
        public void createFragment(StudyGroup sg,bool create )
        {
            var ft = FragmentManager.BeginTransaction ();
            if (create) {

                ft.Replace (Resource.Id.FragmentLayout, new studySessionFragment ());
            } else {

                ft.Replace (Resource.Id.FragmentLayout, new studySessionFragment (sg));
            }
            ft.AddToBackStack (null);
            ft.Commit ();
        }
Ejemplo n.º 2
0
        public void createFragment(StudyGroup sg, bool create)
        {
            var ft = FragmentManager.BeginTransaction();

            if (create)
            {
                ft.Replace(Resource.Id.FragmentLayout, new studySessionFragment());
            }
            else
            {
                ft.Replace(Resource.Id.FragmentLayout, new studySessionFragment(sg));
            }
            ft.AddToBackStack(null);
            ft.Commit();
        }
Ejemplo n.º 3
0
 public studySessionFragment()
 {
     this.sg = new StudyGroup();
     create = true;
 }
Ejemplo n.º 4
0
 public studySessionFragment(StudyGroup sg)
 {
     this.sg = sg;
     create = false;
 }
Ejemplo n.º 5
0
 public studySessionFragment()
 {
     this.sg = new StudyGroup();
     create  = true;
 }
Ejemplo n.º 6
0
 public studySessionFragment(StudyGroup sg)
 {
     this.sg = sg;
     create  = false;
 }