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

Fixed not to start smoothScrolling when tab selected #174

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

icalo35
Copy link
Contributor

@icalo35 icalo35 commented Jun 29, 2017

NullPointerException is thrown when swipe pages while using TabLayoutSupport.
Because called nested RecyclerViewPager.smoothScrollToPosition by TabLayoutSupport's Listeners.
and called nested RecyclerView.stop() .

Then fixed not to call smoothScrollToPosition in ViewPagerOnTabSelectedListener.onTabSelected when called select() by TabLayoutOnPageChangeListener.OnPageChanged.

@lsjwzh lsjwzh merged commit d677e43 into lsjwzh:master Jul 25, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants