Skip to content
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

Weird issues? #4

Closed
gajicm93 opened this issue Jun 3, 2019 · 2 comments
Closed

Weird issues? #4

gajicm93 opened this issue Jun 3, 2019 · 2 comments

Comments

@gajicm93
Copy link

gajicm93 commented Jun 3, 2019

Hi, I started by including your Example 5 into my project, but as part of another vertical RecyclerView. Anyways, the calendar shows up fine, but I have 2 weird issues:

  1. Month scroll listener gets invoked with one month earlier than shown on the calendar (e.g. calendar shows June days, but it says May on top). I'm using paged calendar, and this is invoked when I page it with finger.

  2. When I use buttons (next & previous) to move the calendar, it starts skipping months, but it's mostly skipping into past 1 or 2 months. So for e.g., If I go back from June to May, it ends up showing April.. But if I go forward from June to July, it ends up showing June again (because it skips one month back again).

Do you have any idea what this might be? Otherwise, library is great and very customizable. Thanks!

@kizitonwose
Copy link
Owner

Thank you for reporting this, it's now fixed in the latest release. This was happening because findFirstVisibleItemPosition() was misbehaving in the layout manager.

@gajicm93
Copy link
Author

gajicm93 commented Jun 4, 2019

@kizitonwose wow you're amazing, I'll test it right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants