roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 531 forks source link

Disable dates not working when month change #354

Open AshwiniAtale opened 8 years ago

AshwiniAtale commented 8 years ago

Hi, We are using your library for attendance. We want to disable previous month's and next month's dates. For which we have used setMinDate() and setMaxDate() function. We are calling webservice on onChangeMonth() event. And displaying attendance for that particular month with color codes as background. All these things are working perfectly for current month. But when we change month to prev/next month, its not working for disable dates. Lets assume current month is DEC 2015 so disable dates are 30th nov, and 1st Jan to 10th Jan. Now when we change month to nov, 1st DEC to 6th Dec are not disable. 26th Oct to 31st OCT are disable. But when we change that month from OCT to NOV its not disable. Can you please help me in this?

aivision369 commented 8 years ago

hi... This is great library when we want to use calendar. Thank you so much for this but may i request you that i am using your library for attendance. i want to disable previous month's and next month's dates. For which we have used setMinDate() and setMaxDate() function. We are calling webservice on onChangeMonth() event. And displaying attendance for that particular month with color codes as background. All these things are working perfectly for current month. But when we change month to prev/next month, its not working for disable dates. Same as AshwiniAtale say if possible than please help me