Exemple #1
0
 private void txtFecha_Click(object sender, EventArgs e)
 {
     DatePickerFragment frag = DatePickerFragment.NewInstance(delegate (DateTime time)
     {
         txtFechaNac.Text = time.ToLongDateString();
     });
     frag.Show(FragmentManager, DatePickerFragment.TAG);
 }
Exemple #2
0
 public static DatePickerFragment NewInstance(Action<DateTime> onDateSelected)
 {
     DatePickerFragment frag = new DatePickerFragment();
     frag._dateSelectedHandler = onDateSelected;
     return frag;
 }