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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problems with SfSchedule

Thread ID:

Created:

Updated:

Platform:

Replies:

128489 Jan 25,2017 02:10 PM UTC Feb 6,2017 07:21 PM UTC Xamarin.Forms 2
loading
Tags: SfSchedule
Richard Grothe
Asked On January 25, 2017 02:10 PM UTC

Hello,

i just evaluating the scheduler. When i add a new appointment, there is no refresh that show's the new task on screen until weekview view is swiped.

second problem is following:

clientMeeting.IsRecursive = true;

RecurrenceProperties recurrenceProperties = new RecurrenceProperties();
recurrenceProperties.RecurrenceType = RecurrenceType.Daily;
recurrenceProperties.IsRangeEndDate = true;
recurrenceProperties.RangeStartDate = clientMeeting.StartTime;
recurrenceProperties.RangeEndDate = clientMeeting.EndTime;
recurrenceProperties.RecurrenceRule = DependencyService.Get<IRecurrenceBuilder>().RRuleGenerator(recurrenceProperties, clientMeeting.StartTime, clientMeeting.EndTime);
clientMeeting.RecurrenceRule = recurrenceProperties.RecurrenceRule;

When i add a recursive task with a duration of 2 days i got a android java 0 divide error?
How can i fix this issue?


best regards, Richard

Swathi Gopal [Syncfusion]
Replied On January 26, 2017 02:45 PM UTC

Hi Richard,

Thanks for your interest in Syncfusion products.

Query 1:

Based on the provided information we suspect that your query is regarding dynamically adding new appointment to the appointment collection in Schedule Xamarin Forms. We have prepared a simple sample based on this and please find the sample from the below link.

SampleSchedule_Project

In the sample we have added a new appointment in a button click in Schedule WeekView, Could you please check with the given sample, if you face any issues could you please modify the provided sample with its issue reproducing procedure. It will be helpful for us to analyze about the issue and provide you a better solution.

Query 2:

We have already found the issue with “Adding Recurrence appointment with duration of 2 days show android java 0 divide error” and logged an issue report for the same. The mentioned issue fix will be included in our upcoming Volume 1 release which is expected to be available by first week of February 2017.We appreciate your patience until then.

Regards,
Swathi G


Swathi Gopal [Syncfusion]
Replied On February 6, 2017 07:21 PM UTC

Hi Richard, 
  
We regret for the inconvenience caused. 
We have analyzed the mentioned issue scenario with "Adding Recurrence appointments shows android java 0 divide error in Schedule Xamarin Forms (android) with the provided code snippet.In the provided sample code RecurrenceType was set Daily but the recurrence count and certain properties specific to recurrence type was not set.

We have modified the provided code snippet to resolve this issue based on this. Please find the sample below, 
  

In the above sample, we have used RRule along with the recurrenceproperties set for DailyNDays and IsDailyEveryNDays properties.

To know more about it, kindly refer our online UG document by the following link,

UG link : https://help.syncfusion.com/xamarin/sfschedule/recurrence

Please let us know, if you have any concerns.

Regards,
Swathi G 


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.

Warning Icon 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.Close Icon

;