Ejemplo n.º 1
0
        public static TrainingDayFragment newInstance(String excercise, String description)
        {
            TrainingDayFragment fragment = new TrainingDayFragment();
            Bundle args = new Bundle();

            args.PutString("training_excercise", excercise);
            args.PutString("training_summary", description);
            fragment.Arguments = args;

            return(fragment);
        }
Ejemplo n.º 2
0
 public override Android.Support.V4.App.Fragment GetItem(int position)
 {
     return((Android.Support.V4.App.Fragment)
            TrainingDayFragment.newInstance(_trainingDays[position].Exercise,
                                            _trainingDays[position].Description));
 }