Created:

Updated:

Platform:

Replies:

I've tried to populate my appointment collection in OnAppearing with an async method. The update method populates a ScheduleAppointmentCollection with data taken from another data source. On iOS the appointments are loaded correctly and are visibile in the SfSchedule.

On Android the control is empty, and if I tap on a monthcell (I use a MonthView visualization) with an event inside, that cell result empty.

In my debug sessions I've tried to figure out if the DataSource property is valorized, and I've found that the appointments are correctly inside the DataSource, but are not visualized.

Based on the provided information, we have checked and we are unable to reproduce the mentioned issue with ScheduleAppointments not updating in Schedule Xamarin Forms (Android) from our side. We have prepared simple sample based on this scenario, please find the below sample.

In the sample, we have added ScheduleAppointment in the OnAppearing also added another appointment dynamically by the button click event.

If the given solution doesn’t meet your requirement, could you please revert to us by modifying the provided sample based on your scenario with the replication procedure along with platform details, it will be helpful for us to check on it and provide you the better solution.

Regarding SfCalendar query:

We have tested the reported issue in our latest version of Essential Studio and we were unable to reproduce the reported issue from our side and we have attached the sample and video which we have tested the reported issue. Please find the sample and video from the below link.

So, could you please check the reported issue in our latest version of Essential studio using attached sample. If you still facing reported issue, could you please provide modified sample which replicates the reported issue and which Android API version issue gets occur. It will help us to provide appropriate solution on this.

Thank you for the update. We are happy that the mentioned issue got resolved with the provided solution.

Query 2: InlineAppointment Color

We have checked your query with changing the Schedule Inline AppointmentColor, are you mentioning about InlineAppointment indication color (small circle) in Month InlineView? Which is the ScheduleAppointment Color. Yes, you can change the ScheduleAppointment color dynamically in Xamarin Forms.

If your requirement is to customize the InlineAppointment, by using MonthInlineView customization you can achieve your requirement. You can customize both Appointment TextColor and BackgroundColor using MonthInlineViewStyle as well as passing CustomView. Please refer of our online User Guide documentation for the same by the following link,

If the given solution doesn’t meet your requirement, could you please revert to with more information about your requirement in detail, it will be helpful for us to check on it and provide you the better solution.