leochuan / ViewPagerLayoutManager

ViewPager like LayoutManager which supports some awesome animations and infinite scroll.
Apache License 2.0
1.75k stars 330 forks source link

请问可以改变圆心为之么? #20

Closed ilittle7 closed 6 years ago

ilittle7 commented 6 years ago

CircleLayoutManager,是以底部为圆心,可以以左边为圆心么,滑动路径是这个形状的“ )”

leochuan commented 6 years ago

当时我有思考过这个问题,要不要让他支持4个方向。你确定你要的效果是这种每一个item中线都是贯穿圆心的? 还是说其实每个view自身不旋转,但是围绕圆心形成一个圈? 这是两种不同的layoutManager,如果是后一种的话我准备加一个这样子的效果然后他是支持四种朝向的。前一种的话,你真的有这种需求,我也可以支持一下,目前是不支持的。

ilittle7 commented 6 years ago

我说的就比如是这种,这样圆心不就是在左边了么,Demo中圆心是在下边的 您可以支持改变圆心位置么?

在 2017年12月6日,上午10:34,leo shen notifications@github.com 写道:

当时我有思考过这个问题,要不要让他支持4个方向。你确定你要的效果是这种每一个item中线都是贯穿圆心的? 还是说其实每个view自身不旋转,但是围绕圆心形成一个圈? 这是两种不同的layoutManager,如果是后一种的话我准备加一个这样子的效果然后他是支持四种朝向的。前一种的话,你真的有这种需求,我也可以支持一下,目前是不支持的。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leochuan/ViewPagerLayoutManager/issues/20#issuecomment-349511861, or mute the thread https://github.com/notifications/unsubscribe-auth/ARL7EsDLI-J6F3rGVIoqN8Z3dDhWoRu6ks5s9f1KgaJpZM4Q1-Me.

ilittle7 commented 6 years ago

大神,可以变成这样么?

在 2017年12月6日,上午10:34,leo shen notifications@github.com 写道:

当时我有思考过这个问题,要不要让他支持4个方向。你确定你要的效果是这种每一个item中线都是贯穿圆心的? 还是说其实每个view自身不旋转,但是围绕圆心形成一个圈? 这是两种不同的layoutManager,如果是后一种的话我准备加一个这样子的效果然后他是支持四种朝向的。前一种的话,你真的有这种需求,我也可以支持一下,目前是不支持的。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leochuan/ViewPagerLayoutManager/issues/20#issuecomment-349511861, or mute the thread https://github.com/notifications/unsubscribe-auth/ARL7EsDLI-J6F3rGVIoqN8Z3dDhWoRu6ks5s9f1KgaJpZM4Q1-Me.

leochuan commented 6 years ago

@ilittle7 看不到你的图片啊,我这两天公司事情比较多,应该过几天更新一下。

ilittle7 commented 6 years ago

辛苦辛苦,就是这个意思,圆形的旋转效果那个,把recyclerview向右旋转90度的效果。

历建斌

邮箱:ilittle7@163.com |

签名由 网易邮箱大师 定制

在2017年12月07日 18:48,leo shen 写道:

@ilittle7 看不到你的图片啊,我这两天公司事情比较多,应该过几天更新一下。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

leochuan commented 6 years ago

@ilittle7 好了,现在可以传一个Gravity,参数是CircleLayoutManager.LEFTCircleLayoutManager.RIGHTCircleLayoutManager.TOPCircleLayoutManager.BOTTOM

commit: 5ecc4c80a26e7731f3054092dc5b35fbf4751f64