添加ViewPager的循环滚动以及利用clipToPadding属性解决触及屏幕边缘时不能滑动问题 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.解决了issues2和issues5所描述的问题。
2.利用ViewPager的clipToPadding属性来做一屏显示多页时,对有些动画效果支持的不太好,但是如果利用clipChildren属性来做,就会导致触及屏幕边缘时无法滑动,虽然可以利用事件分发来解决掉,同时有会产生点击事件问题,也就是只能设置一屏多页中,中间那页的点击事件,而另外两个页面无法设置点击事件。不知道鸿洋大神有什么看法。