Closed commandiron closed 2 years ago
@commandiron thank you for doing this. Have few Nits
hi, i don't know how to do ktlint check, but i will find out and review my code again. Thank you.
hi, i don't know how to do ktlint check, but i will find out and review my code again. Thank you.
Yes please do, and thank you for the effort.
@commandiron
@gsrathoreniks
You're right, I'll add this. But I am not sure whether I should return the Localdate list via the onCurrentDayClick function or add a new function called onDateRange and return it from there.
And i think there is an option to just return the previous clicked day then if user wants, can calculate the days between.
@commandiron I think returning pair of dates is better option. I think LocalDate is fine.
If we use onCurrentDayClick then the user will have to keep record of the first date selected, because when second date will be clicked it will replace the data. So it's better to pair of date with a new function.
Thought: if we make the onDateRangeSelected
parameter optional then it'll be better because we won't have to add it in case we don't want to use the Range.
I cant solve this conflict, don't know why, any help?
This pr fix this issue.
Include; kalendar-endloss package -> Kalendar kalendar package -> Kalendar (Firey), I thought Oceanic was not needed but it can be added later.