You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a problem regarding selecting indates/outdates.
Using CalendarView.notifyDayChanged() I can show an indate/outdate as selected. Combining this with notifyDateChanged() when an indate/outdate is selected and you scroll to it's month, it is selected there as well.
The problem lies when you select a day in this month (ie. not an indate/outdate), if that date exists as an indate/outdate in another month, when you scroll to it, it won't be selected and there doesn't seem to be a way to do it.
I can think of getting this to work if when selecting any date, I call notifyDayChanged() with all 3 owners, but that would require the ability to instantiate new CalendarDay objects with the same LocalDate but different owners.
Is there an alternative way of doing this?,
thanks.
The text was updated successfully, but these errors were encountered:
I'm running into a problem regarding selecting indates/outdates.
Using
CalendarView.notifyDayChanged()
I can show an indate/outdate as selected. Combining this withnotifyDateChanged()
when an indate/outdate is selected and you scroll to it's month, it is selected there as well.The problem lies when you select a day in this month (ie. not an indate/outdate), if that date exists as an indate/outdate in another month, when you scroll to it, it won't be selected and there doesn't seem to be a way to do it.
I can think of getting this to work if when selecting any date, I call
notifyDayChanged()
with all 3 owners, but that would require the ability to instantiate new CalendarDay objects with the sameLocalDate
but different owners.Is there an alternative way of doing this?,
thanks.
The text was updated successfully, but these errors were encountered: