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

如何设置一次只滑动一页 #19

Open
liulance opened this issue May 6, 2018 · 7 comments
Open

如何设置一次只滑动一页 #19

liulance opened this issue May 6, 2018 · 7 comments

Comments

@liulance
Copy link

liulance commented May 6, 2018

如何设置一次滑动一页?

@lkliu
Copy link

lkliu commented May 27, 2018

解决了吗,能不能实现呢

@winnxiegang
Copy link

看到 说一下 @liulance @lkliu PagerSnapHelper snapHelper = new PagerSnapHelper();//使用这个可以实现viewpage的 一张一张滑动
snapHelper.attachToRecyclerView(recycler);

@liulance
Copy link
Author

@winnxiegang 是不是要在源码里面更改?

@liulance
Copy link
Author

@winnxiegang 源码里面就是用的这个 snapHelper,没有效果

@hunanzjjhy
Copy link

@liulance 解决了吗,我也是用snapHelper和PagerSnapHelper还有LinearSnapHelper都不行,用PagerSnapHelper然后把BannerLayoutManager改成LinearLayoutManager就可以。但是又达不到想要的效果了,缩放什么的都没有了

@PWJiang
Copy link

PWJiang commented Nov 9, 2018

同问

@MrHuGit
Copy link

MrHuGit commented Jul 12, 2019

image

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

6 participants