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
If U choice of past number and future - selection is correct
If U choice of future number and past - selection incorrect (absent)
video_2024-03-28_13-52-14.mp4
The text was updated successfully, but these errors were encountered:
lbuckl
changed the title
Kalendar Endlos Documentation, daySelectionMode: Incorrect selection
Kalendar Endlos, daySelectionMode: Incorrect selection
Mar 28, 2024
Fixeshi-manshu#172
Add handling for `RangeSelectionError.EndIsBeforeStart` in `onDayClicked` function.
* **Import RangeSelectionError**
- Import `RangeSelectionError` in `kalendar-endlos/src/main/java/com/himanshoe/kalendar/endlos/util/DayClick.kt`.
* **Add onErrorRangeSelected parameter**
- Add `onErrorRangeSelected` parameter to `onDayClicked` function.
* **Handle end date before start date**
- Add a condition to trigger `onErrorRangeSelected(RangeSelectionError.EndIsBeforeStart)` when the end date is before the start date.
If U choice of past number and future - selection is correct
If U choice of future number and past - selection incorrect (absent)
video_2024-03-28_13-52-14.mp4
The text was updated successfully, but these errors were encountered: