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

ItemSpace? #2

Open
duveen opened this issue Apr 24, 2017 · 1 comment
Open

ItemSpace? #2

duveen opened this issue Apr 24, 2017 · 1 comment

Comments

@duveen
Copy link

duveen commented Apr 24, 2017

I want to give the spacing between items, which does not work with any method.
So, What should I do?

@xinwa
Copy link

xinwa commented May 21, 2018

in onSizeChanged method,
mItemHeight = rectDrawn.height() / mVisibleItemCount + DimensionUtil.dipToPx(getContext(),14);
14 is my setting item padding. it solved my probliem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants