RadCalendar is long to load

4 posts, 0 answers
  1. JONNY
    JONNY avatar
    1 posts
    Member since:
    Nov 2017

    Posted 02 Nov Link to this post

    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?
  2. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    482 posts

    Posted 03 Nov Link to this post

    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
  3. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    482 posts

    Posted 06 Nov Link to this post

    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
  4. Namysław
    Namysław avatar
    26 posts
    Member since:
    Jul 2017

    Posted 06 Nov in reply to Lance | Tech Support Engineer, Sr. Link to this post

    @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!
Back to Top