Completed
Last Updated: 03 Jun 2019 14:39 by ADMIN
Release 2019.2.603.360 (R2 2019 minor release)
Carl
Created on: 13 Mar 2019 15:22
Category: Calendar & Scheduling
Type: Bug Report
3
Calendar: [Android] SelectionChanged is triggered twice when changing the appointments collection at runtime

SelectionChanged starts calling twice when appointments collection is changed at runtime from within the event.

The problem occurs when I update the Events property on either of the events DisplayDateChanged or SelectionChanged. It seems these events are triggered another time, sometimes, when the AppointmentSource gets refreshed. I say sometimes because you can navigate through the weeks as normal, but as some points you notice something went wrong. Here’s a list of what I have encountered so far :
When sliding through the weeks from the days header, let’s say the selected day is a Monday, the next weeks would have the Monday selected as expected. Then a random week would have an other selected day (Friday). It would happen randomly until some weeks get skipped completely.
When sliding through the weeks from the days header, let’s say the selected day is a Monday, the next weeks would have the Monday selected as expected. If I touch the Friday box,  the selected date gets initially updated  to Friday and then a random day between Monday and Friday gets selected.
When sliding through the weeks from the days header, the calendar gets stucked on a random week, and sliding forward or backward through the days header just put you back to the same week. In this case the only way to move to the next/previous week is to slide through the time slot.

0 comments