Skip to content

Commit

Permalink
Merge pull request #48 from udaysrinath/master
Browse files Browse the repository at this point in the history
Adding a helper to enable jump to today for consumers
  • Loading branch information
Jonatan E. Salas authored Aug 10, 2017
2 parents 6ff19a6 + aa1acea commit 29050c6
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 29050c6

Please sign in to comment.