-
Notifications
You must be signed in to change notification settings - Fork 222
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
Invalid indicator position #49
Comments
rt1shnik
added a commit
to rt1shnik/RecyclerTabLayout
that referenced
this issue
Aug 29, 2019
rt1shnik
added a commit
to rt1shnik/RecyclerTabLayout
that referenced
this issue
Aug 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes when I change position of ViewPager I see that current tab at RecyclerTabLayout stay the same. I've figure out after some debugging where is problem.
See at method
updateCurrentIndicatorPosition
. This method don't change adapter'sindicatorPosition
ifdx
is 0. SoRecyclerTabLayout
's position andViewPager
's position do not match.RecyclerTabLayout/library/src/main/java/com/nshmura/recyclertablayout/RecyclerTabLayout.java
Lines 310 to 325 in 16e4140
The text was updated successfully, but these errors were encountered: