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

Performance Problem when I clean-up the scheduler object only on iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

132489 Sep 5,2017 08:08 AM UTC Nov 6,2017 01:09 PM UTC Xamarin.Forms 7
loading
Tags: SfSchedule
Romain
Asked On September 5, 2017 08:08 AM UTC

Hi,

I have a problem with SfSchedule on iOS, (work perfectly on Android), to clean-up the schedule.

I use to last version of Syncfusion, 15.3.0.29 and last version on iOS 10.3.3 (iPad Air 2 and iPhone 6).
For navigate through views, I use to MasterDetailPage.

When I clicked on back button, the SfSchedule make 10 seconds, to cleanup the schedule.
I displayed 15 appointments.

I can provide a test project.

My schedule componant implement :

            <schedule:SfSchedule x:Name="schedule"
                                 ScheduleView="{Binding PlanningViewType, Converter={StaticResource PlanningViewTypeToScheduleTypeConverter}}"
                                 ShowAppointmentsInline="True"
                                 Locale="fr"
                                 FirstDayOfWeek="2"
                                 Grid.Row="1" MoveToDate="{Binding DateSelected}"
                                 SelectionStyle="{Binding StyleSelection}"
                                 DataSource="{Binding Appointments, Mode=OneWay }"
                                 ScheduleCellTapped="schedule_ScheduleCellTapped"
                                 CellLongPressed="Schedule_CellDoubleTapped"
                                 VisibleDatesChangedEvent="schedule_VisibleDatesChangedEvent">
                <schedule:SfSchedule.DayViewSettings>
                    <schedule:DayViewSettings WorkStartHour="9"
                                              WorkEndHour="18"
                                              ShowAllDay="False">
                    </schedule:DayViewSettings>
                </schedule:SfSchedule.DayViewSettings>
                <schedule:SfSchedule.WeekViewSettings>
                    <schedule:WeekViewSettings  WorkStartHour="9"
                                                WorkEndHour="18"
                                                ShowAllDay="False">
                    </schedule:WeekViewSettings>
                </schedule:SfSchedule.WeekViewSettings>

                <schedule:SfSchedule.AppointmentMapping>
                    <schedule:ScheduleAppointmentMapping SubjectMapping="Subject"
                                                         ColorMapping="BackgroundColor"
                                                         NotesMapping="Notes"
                                                         LocationMapping="Location"
                                                         StartTimeMapping="StartTime"
                                                         EndTimeMapping="EndTime" />
                </schedule:SfSchedule.AppointmentMapping>
            </schedule:SfSchedule>

And a callstack when I unload the schedule and I "break all" application :



Thanks,

Romain


Subburaj Pandian Veluchamy [Syncfusion]
Replied On September 6, 2017 01:35 PM UTC

Hi Romain, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, we have checked and we are unable to reproduce the mentioned delay while disposing the Schedule objects in Xamarin Forms (iOS) from our side. We have prepared sample based on the given code example, please find the below sample, 
 
 
If the given sample doesn’t meet your requirement, could you please revert to us by modifying the provided sample with more information along with replication procedure to reproduce the issue. It will be helpful for us to check on it and provide you the solution.  
 
Regards,    
Subburaj Pandian V.      


Romain
Replied On September 11, 2017 05:21 PM UTC

Hi,

Thanks for your sample.
I worked for 4 days and I find the reason of lag.

In my app, I use some big object like a translation file, list of zip codes, ...
If you have this objects on your application (with any or no dependency), when you click on back on schedulepage, the application freeze during 10sec.

I reproduced this problem in the sample project
I create :
     -Settings.cs, load a list of 500,000 GUID

     -NormalPage.xaml, display this list.

When you open/close NormalPage.xaml, it's very quick but with CustomAppointmentSchedulePage.xaml, the back operation take 5/10 seconds.


If you remove the schedule object on CustomAppointmentSchedulePage.xaml the problem disappears.

Can you check and find a solution ?

Thanks

Romain ROUBAUD

Attachment: ScheduleSample_Appointments_5863061.zip

Subburaj Pandian Veluchamy [Syncfusion]
Replied On September 12, 2017 01:21 PM UTC

Hi Romain,  
 
Thank you for the update. 
 
We have checked and we can able reproduce the mentioned performance delay with Schedule in Xamarin Forms (iOS) from our side. We have logged issue report for the same, we will fix this issue and include the issue fix in our upcoming Volume 3 SP2 release which is expected to be available by end of this Month (September 2017). We appreciate your patience until then. 
 
Regards, 
Subburaj Pandian V.

 


Romain
Replied On September 15, 2017 12:56 PM UTC

Hi,

Thanks, It's possible to have a beta version in advance when your fix is release ?

Romain


Subburaj Pandian Veluchamy [Syncfusion]
Replied On September 18, 2017 09:24 AM UTC

Hi Romain,   
 
Currently we are working on this mentioned performance delay with Schedule in Xamarin Forms (iOS), we need consider various possible scenarios related to stability for the fix. As we mentioned in our previous update, we will fix this issue and include the issue fix in our upcoming Volume 3 SP2 release, we will let you know once it has been rolled out. 
  
Regards,  
Subburaj Pandian V. 


steve hawkins
Replied On November 2, 2017 02:18 PM UTC

sfschedule still lags on dispose in sp2 released end of september. on a xaml form i have the sfschduler controls and it takes around 3-4 seconds to dispose.

remove it and the form disposes in less than a second. The same issue 'Romain' had. Was this not being fixed?


Swathi Gopal [Syncfusion]
Replied On November 6, 2017 01:09 PM UTC

Hi Steve, 
 
We have created a new support incident under your account to track the status of this issue. Please log on to our support website to check for further updates. 
 
 
Please let us know, if you have any query.

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

;