Exemple #1
0
 protected override void OnSaveInstanceState(Bundle outState)
 {
     base.OnSaveInstanceState(outState);
     if (datePickerDialog != null)
     {
         baseModel.Year  = datePickerDialog.DatePicker.Year;
         baseModel.Month = datePickerDialog.DatePicker.Month - 1;
         baseModel.Day   = datePickerDialog.DatePicker.DayOfMonth;
     }
     if (timePickerDialog != null)
     {
         baseModel.TimePickerBundler = timePickerDialog.OnSaveInstanceState();
     }
     outState.PutSerializable("Base", this);
 }