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

onPageSelected()回调问题 #58

Open
V-Progress opened this issue Sep 10, 2019 · 0 comments
Open

onPageSelected()回调问题 #58

V-Progress opened this issue Sep 10, 2019 · 0 comments

Comments

@V-Progress
Copy link

ViewpagerLayoutManager使用scrollToPosition(0)跳转某页不会回调onPageSelected()方法。
我想做自动轮播的效果,滚动到底部后再使用scrollToPosition(0)跳转到第一页,但此时不再回调onPageSelected()方法。
请问有没有可替代的方法呢?

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

1 participant