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

增加对section设定间距后,条目宽度自适应的功能 #2492

Merged
merged 2 commits into from
Dec 3, 2018
Merged

增加对section设定间距后,条目宽度自适应的功能 #2492

merged 2 commits into from
Dec 3, 2018

Conversation

chenxi2035
Copy link

Section中的item可以自定义间距,包括水平间距和垂直间距,另外还可以设置水平两端和垂直两端的间距,然后item宽度自适应。

@AllenCoder
Copy link
Collaborator

代码已review ,相关check 没有通过 https://app.codacy.com/app/AllenCoder/BaseRecyclerViewAdapterHelper/pullRequest?prid=2329993
请修改 getItemOffsets 方法,该方法控制流程过长,缺少相关的注释文档,请将改方法重构拆分为几个较小的组合方法 。

@AllenCoder AllenCoder merged commit 4adb205 into CymChad:master Dec 3, 2018
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