Hi Olaf,
Query 1: Regards the CellTapped Event:
Schedule CellTapped event always fire even the cell contains appointment, while using custom view for appointments if you use the view like button or anything that has the touch operations you must disable the UserInteractionEnabled property to trigger the schedule CellTapped event.
|
void Schedule_AppointmentLoaded(object sender, AppointmentLoadedEventArgs e)
{
var button = new UIButton(UIButtonType.System);
button.SetTitle(e.Appointment.Subject, UIControlState.Normal);
button.BackgroundColor = UIColor.Green;
button.UserInteractionEnabled = false;
e.View = button;
} |
If you used Label as a custom view then it’s not required to set the UserInteractionEnabled property as false, as it doesn’t have any inbuild touch operations.
Query 2: Regards Appointment display
We have displayed the spanned appointments in two types based on it’s duration, if the appointments duration is less then 24 hour it will split into the time slots, if it’s duration more then 24 hour it will be placed on the All-day panel of the corresponding days
Query 3: Regards Appointment Loaded Event not triggered for Spanned Appointment and Triggers for “offending” appointment
We have unable to reproduce the “Appointment Loaded Event not triggered for Spanned Appointment” which has duration less than 24 hour we have modified the sample as the way you mentioned, and it works fine with this.
The appointment loaded event always triggers for all the VisibleAppointments in the view, we are not understanding your query that the event triggers of “offending” appointment as well please provide more details on this which help us to analyze and resolve this.
Query 4: Regards Custom Appointment type changed as ScheduleAppointment in some cases
We able to reproduce the“Custom appointment type changed to schedule appointment in some cases” issue and we have logged a bug report for the same, this will be included in our upcoming Volume 3 SP1 release, which will be expected to roll out on end of October 2018, we appreciate your patience until then.
Sample:
Regards,
Vigneshkumar R