ArchitShah248/CalendarDateRangePicker

CalendarListener for single selection does not work in 2.0.0

Opened this issue · 1 comments

I verified that this worked in v1.1.7. However, in v2.0.0 it does NOT work.

when custom:date_selection_mode="single"

override fun onFirstDateSelected(startDate: Calendar) {}
callback does not work.
@ArchitShah248

It appears that override fun onDateRangeSelected(startDate: Calendar, endDate: Calendar) {} is actually being used. However, this is very misleading because with single selection, we will never have an endDate here.