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

add MagicViewPager support Fragment vertical scroll #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kHRYSTAL
Copy link

@kHRYSTAL kHRYSTAL commented May 7, 2016

add MagicViewPager support Fragment vertical scroll when add PageTransformer

@hongyangAndroid
Copy link
Owner

非常感谢PR,好像导致部分动画异常,例如Rotate_Down,Rotate_Up,望测试。

@kHRYSTAL
Copy link
Author

kHRYSTAL commented May 7, 2016

@hongyangAndroid 感谢回复,动画异常原因貌似是因为重写了setPageTransformer(boolean reverseDrawingOrder,ViewPager.PageTransformer transformer)函数为了在具有切换效果后使child能够获取焦点导致的 所以替换PageTransformer对象后导致的异常,还没想到太好的解决办法
第一次设置PageTransformer是没有问题的 改了一下sample结构

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