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

请问如何禁止SlidingTabLayout 滚动的效果 #529

Open
BatterMan-Li opened this issue Jun 17, 2021 · 1 comment
Open

请问如何禁止SlidingTabLayout 滚动的效果 #529

BatterMan-Li opened this issue Jun 17, 2021 · 1 comment

Comments

@BatterMan-Li
Copy link

你好,我现在有多个tab,如果我想从第一个切换到最后一个tab,然后给看到的是一个一个的滚动到最后一个tab,我如何设置能去除这个动画效果

@chengfan2017
Copy link

tabLayout.setSnapOnTabClick(true)

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