-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preload view in MonthDayBinder #536
Comments
This is a bit tricky but you'll need to override the internal layout manager and override See documentation |
how to add
|
There's no way to do this via xml presently. |
This is now possible in the latest snapshot: calendarView.layoutHelper = object : LayoutHelper() {
override val calculateExtraLayoutSpace = { _: RecyclerView.State, extraLayoutSpace: IntArray ->
extraLayoutSpace[0] = calendarView.width // desired extra start space
extraLayoutSpace[1] = calendarView.width // desired extra end space
}
} |
Now available in 2.6.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: