This is a migrated thread and some comments may be shown as answers.

RadCalendar is long to load

3 Answers 105 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
JONNY
Top achievements
Rank 1
JONNY asked on 02 Nov 2017, 12:57 PM
I try use RadCalendar in my Xamarin Forms app(Master Detail navigation). I added RadCalendar in my page and my page loaded 4 seconds. 
I tried official example SDKBrowser. I opened  Calendar-Getting Started-Xaml page - it is 3 seconds. This is only simpe page with RadCalendar. It is very long.
Is it possible to speed it up? Any ideas?

3 Answers, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 03 Nov 2017, 08:23 PM
Hello Johnny,

There are many factors that can lead to longer load times. As to what you're reporting, I cannot replicate the behavior, my tests load the Calendar in about 1 second for initial load, with custom styling and the debugger attached (see this video).

Some of the things that can affect run-time performance:

- The device itself. slower phones or older OS version can affect Xamarin.Forms performance.
- Is this the first page in the application? Then you might also be waiting for Xamarin.Forms to load, try using the Calendar on a different page and then navigate to it.
- Are you deploying with the debugger attached? This adds a very visible performance hit, try launching the app without the debugger.
- Are you using Cell Styling? This can add load times as each item needs to be styled separately depending on the rules in the styling logic.
- Is there a view model loading a lot of appointments? Make sure you're loading appointments only the needed appointments, asynchronously.

I can't tell what version of UI for Xamarin that you're using because I don't see that you have a license for the product (trial or purchase). Are you using the product form your employer? You can have them assign you as licensed user here.

If you got the product from another location, we cannot guarantee that it hasn't been altered and there may be other things running in the SDK Examples app. Please make sure you're always getting the code and product from www.telerik.com (or approved reseller).

Can you provide a runnable example of the 4 second load time so that we can investigate this further. Also please provide more information (e.g. version of UI for Xamarin, what target platform this is happening on, etc).

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Lance | Manager Technical Support
Telerik team
answered on 06 Nov 2017, 03:21 PM
Hi Johhny,

We identified an issue on Android that was causing the Calendar to load slow and have fixed it. You'll find the fix in the latest update (2017.3.1104), here are the release notes.

If you are still experiencing slow loading times, please review my last post and let me know what one might be relevant for you. I might be able to assist and offer alternative to the problematic implementation.

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Namysław
Top achievements
Rank 1
answered on 06 Nov 2017, 08:25 PM
@Lence great work for yours dev team! Before 2017.3.1104, my RadCalendar with custom styles, was loading around 5-7 seconds, at chinese Android smartphone with Mediatek chipset.
Starting from latest release 2017.3.1104, RadCalendar is loading around 0,5-1,5 sec, which is huuuge improvement!
Thanks a lot!
Tags
Calendar & Scheduling
Asked by
JONNY
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Namysław
Top achievements
Rank 1
Share this question
or