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

添加ViewPager的循环滚动以及利用clipToPadding属性解决触及屏幕边缘时不能滑动问题 #8

Merged
merged 1 commit into from
Aug 13, 2017

Conversation

YangShaoXiong
Copy link
Contributor

1.解决了issues2issues5所描述的问题。

2.利用ViewPager的clipToPadding属性来做一屏显示多页时,对有些动画效果支持的不太好,但是如果利用clipChildren属性来做,就会导致触及屏幕边缘时无法滑动,虽然可以利用事件分发来解决掉,同时有会产生点击事件问题,也就是只能设置一屏多页中,中间那页的点击事件,而另外两个页面无法设置点击事件。不知道鸿洋大神有什么看法。

@hongyangAndroid hongyangAndroid merged commit 4b5f9d5 into hongyangAndroid:master Aug 13, 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.

2 participants