Open nikunjparadvaAB opened 8 months ago
This is a bit tricky but you'll need to override the internal layout manager and override calculateExtraLayoutSpace
.
See documentation
how to add calculateExtraLayoutSpace
for this?
<com.kizitonwose.calendar.view.CalendarView
android:id="@+id/exFiveCalendar"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cv_daySize="rectangle"
android:background="@color/month_divider"
app:cv_dayViewResource="@layout/item_month_day"
app:cv_outDateStyle="endOfGrid" />
There's no way to do this via xml presently.
Library information:
Question:
for swipe smoothly, How to Preload data in MonthDayBinder for previous and next month?
When i swipe the month then it lags some milliseconds. so what to do for preload views for some months?
I have this output