UI thread blocking issue while setting DisplayDate

2 posts, 0 answers
  1. Adam
    Adam avatar
    25 posts
    Member since:
    Aug 2017

    Posted 31 Aug 2017 Link to this post


    I have a ListView of appointments which are groped by date (month/year) if I scroll the list view I want to change the Date displayed on my RadCalendar but there is this specific problem while scrolling too fast on my list:

    After too much digging with this issue I realized that having:

    SelectedDate="{Binding SelectedDate, Mode=TwoWay}"
    DisplayDate="{Binding CalendarDisplayDate, Mode=TwoWay}"


    On my scroll event listener, causes a small UI thread blocking issue that is visible on both platforms (iOS/Android (slightly more visible) ), in small words, there is a small delay on my UI while updating the DisplayDate property.

    My question:

    Is this property to costly (in memory) on the calendar or why I am experiencing this issue? Is there a workaround for this?

  2. Ves
    Ves avatar
    2926 posts

    Posted 05 Sep 2017 Link to this post

    Hi Adam,

    Please, find attached a small example, which does not seem to suffer visible delays when changing DisplayDate. Note, that you do not need to update it if the new value is within the same month. Please, give this example a try and let me know if it works for you.

    Best regards,
    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
Back to Top