Skip to content

Commit

Permalink
Adding a helper to enable jump to today for consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
Uday Srinath committed Aug 10, 2017
1 parent 6ff19a6 commit aa1acea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ public void onTitleClick() {
}
}

public void onGotoTodayClick(@NonNull View v) {
currentMonthIndex = 0;
updateCalendarOnTouch();
}

public void onNextButtonClick(@NonNull View v) {
currentMonthIndex++;
updateCalendarOnTouch();
Expand Down

0 comments on commit aa1acea

Please sign in to comment.