-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added an alternate range selection mode #91
base: master
Are you sure you want to change the base?
Conversation
Changed the color of the start & end date views to match the alternate selection mode
This is exactly what I'm looking for - tap once to pick the start date, tap again to pick the end date. Any way you can merge this pull request in to the project would be appreciated! |
@vikramkakkar Hi Man, We need this feature, can you merge this PR? Thank you. |
@vikramkakkar this feature that is missing, I have been searching on Internet several days and this is the Best but only missing that feature because is more naturally for the user select de date ranges by single tounch with the finger and not keeping press. I have implemented in an app and I was to force back, because users feel losing when they need to select a range of days and they dont know what is supose to do. |
You have 2 bugs. |
Hey @achatina, are the bugs that you mentioned present only in this pull request or is it in master as well? Will try and fix them next week, thx. |
@adriancoman First bug fixing by:
For the second one modify onDaySelected in DayPickerView.ProxyDaySelectionEventListener mProxyDaySelectionEventListener: |
Added a new way to select date ranges, similar to the one Airbnb uses.
After the user selects the first date and chooses a second date, it will automatically create a range between those two dates.
Ex: I first select 2nd of March and then select 10th of March it will select this date range without the need to long press and drag.
If you want to select another date, just chose a date and you can go through the process of range selection again.