We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Appointment list is not updated on Android

Thread ID:

Created:

Updated:

Platform:

Replies:

129383 Mar 15,2017 06:03 AM Mar 20,2017 03:21 AM Xamarin.Forms 3
loading
Tags: SfSchedule
Gabriele Benvenuti
Asked On March 15, 2017 06:03 AM

Hi to all!

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.

A similiar behaviour is presented by SfCalendar, so what can I do?

Regard and good work

Gabriele Benvenuti

Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 16, 2017 08:08 AM

  
Hi Gabriele, 
 
Thank you for using Syncfusion products.  
 
Regarding SfSchedule query: 
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.  
 
Regards, 
Subburaj Pandian V.   


Gabriele Benvenuti
Replied On March 17, 2017 05:08 AM

Hi Subburaj Pandian V.,

I've tried again with SfSchedule and  now I've obtained the expected behavior; maybe I've made some errors last time.

I've another question for you: I need to change the color of an inline appointment dynamically, is it possible?

Regards and good work

Gabriele Benvenuti

Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 20, 2017 03:21 AM

Hi Gabriele, 
 
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.  
 
Regards, 
Subburaj Pandian V 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;