-
Notifications
You must be signed in to change notification settings - Fork 334
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
多页面侧滑时有问题 #21
Comments
请问你的这个问题解决了没,我也遇到了 |
@MoneyNotFoundException 没有从根本上解决吧,我是这样做的:把框架里面的hide方法改为public,然后监听滑动,在适当的位置主动调用hide方法 |
能麻烦说的详细点么,小白一枚,不知道怎么监听滑动啊,我给控件设置onTouchEvent监听压根就不执行啊,我想知道你是怎么做的呢 |
@MoneyNotFoundException 我监听了这两个,一个是ViewPager, viewPager.addOnPageChangeListener(this);另一个是DrawerLayout,drawerLayout.addDrawerListener(this); |
感谢大神,我先试试啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ViewPager+TabLayout实现多页面侧滑,侧滑时可能导致下拉头或上拉头暴露出来而不能自动回弹,看源码应该是没有对左右滑动的处理
The text was updated successfully, but these errors were encountered: