File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
library/src/main/java/com/alamkanak/weekview Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1468,8 +1468,10 @@ public interface EventClickListener {
1468
1468
public interface MonthChangeListener {
1469
1469
/**
1470
1470
* Very important interface, it's the base to load events in the calendar.
1471
+ * This method is called three times: once to load the previous month, once to load the next month and once to load the current month.
1472
+ * <strong>That's why you can have three times the same event at the same place if you mess up with the configuration</strong>
1471
1473
* @param newYear: year of the events required by the view.
1472
- * @param newMonth: month of the events required by the view.
1474
+ * @param newMonth: month of the events required by the view <strong>1 based (not like JAVA API) --> January = 1 and December = 12</strong> .
1473
1475
* @return a list of the events happening <strong>during the specified month</strong>.
1474
1476
*/
1475
1477
public List <WeekViewEvent > onMonthChange (int newYear , int newMonth );
You can’t perform that action at this time.
0 commit comments