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

UI thread blocking issue while setting DisplayDate

1 Answer 71 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 01 Sep 2017, 03:57 AM

Hello!

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?

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 05 Sep 2017, 10:30 AM
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,
Ves
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
Tags
Calendar & Scheduling
Asked by
Adam
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or