예제 #1
0
        public static DefectImageFragment NewInstance(Defect defect)//accept objet
        {
            DefectImageFragment fragmentDefectImage = new DefectImageFragment
            {
                defect = defect
            };

            return(fragmentDefectImage);
        }
예제 #2
0
 private void BtnImage_Click(object sender, EventArgs e)
 {
     if (isTimelineDetailLoaded == true)
     {
         isTimelineDetailLoaded = false;
         fragmentTransaction    = FragmentManager.BeginTransaction();
         fragmentTransaction.Replace(Resource.Id.container, DefectImageFragment.NewInstance(defect));
         fragmentTransaction.Commit();
     }
 }