roboto-calendar-view
roboto-calendar-view copied to clipboard
Incorrect marking of day
I am getting dynamic date and trying to mark days in roboto calendar view but the dates r 5 days ahead or so .
HEre is my code
int markDate =Integer.parseInt(finalDate); Calendar calendar =Calendar.getInstance(TimeZone.getDefault()); calendar.set(Calendar.DAY_OF_MONTH,markDate); robotoCalendarView.markCircleImage1(calendar); robotoCalendarView.markCircleImage2(calendar);
How to solve this issue
The same issue
Have you solved it ?
Hi, I have the same issue. A solution to this is :
if(robotoCalendarView.getDate().getMonth() == d.getMonth() && robotoCalendarView.getDate().getYear() == d.getYear()) {
robotoCalendarView.markCircleImage1(d);
}