Example #1
0
        protected override void UpdateValuesFromModalController()
        {
            var newDate = BareUIHelper.NSDateToDateTime(ModalController.DatePicker.Date).Date;

            if (newDate != Date)
            {
                Date = newDate;
                DateChanged?.Invoke(this, Date);
            }
        }
        protected override void UpdateValuesFromModalController()
        {
            var newTime = BareUIHelper.NSDateToDateTime(ModalController.DatePicker.Date).TimeOfDay;

            if (newTime != Time)
            {
                Time = newTime;
                TimeChanged?.Invoke(this, Time);
            }
        }