diff --git a/materialcalendarview/src/main/java/io/blackbox_vision/materialcalendarview/view/CalendarView.java b/materialcalendarview/src/main/java/io/blackbox_vision/materialcalendarview/view/CalendarView.java index 64e8c32..ea95faf 100644 --- a/materialcalendarview/src/main/java/io/blackbox_vision/materialcalendarview/view/CalendarView.java +++ b/materialcalendarview/src/main/java/io/blackbox_vision/materialcalendarview/view/CalendarView.java @@ -354,6 +354,11 @@ public void onTitleClick() { } } + public void onGotoTodayClick(@NonNull View v) { + currentMonthIndex = 0; + updateCalendarOnTouch(); + } + public void onNextButtonClick(@NonNull View v) { currentMonthIndex++; updateCalendarOnTouch();