From 4e38ddb7213646aef3d3ddcb19a302e257c4e653 Mon Sep 17 00:00:00 2001 From: Kizito Nwose Date: Sun, 11 Oct 2020 16:17:44 +0200 Subject: [PATCH] Update doc. --- .../src/main/java/com/kizitonwose/calendarview/CalendarView.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/src/main/java/com/kizitonwose/calendarview/CalendarView.kt b/library/src/main/java/com/kizitonwose/calendarview/CalendarView.kt index 8052d589..a00b9c44 100644 --- a/library/src/main/java/com/kizitonwose/calendarview/CalendarView.kt +++ b/library/src/main/java/com/kizitonwose/calendarview/CalendarView.kt @@ -782,6 +782,9 @@ open class CalendarView : RecyclerView { * Useful if your [startMonth] and [endMonth] values are many years apart. * See [updateMonthRange] and [updateMonthRangeAsync] for more refined updates. * + * Note: the setup MUST finish before any other methods can are called. To be + * notified when the setup is finished, provide a [completion] parameter. + * * @param startMonth The first month on the calendar. * @param endMonth The last month on the calendar. * @param firstDayOfWeek An instance of [DayOfWeek] enum to be the first day of week.