-
Notifications
You must be signed in to change notification settings - Fork 369
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
how to set the spacing in the middle item? #42
Comments
check the below code and change scale and translate parameters. Or you can change in layout with margin or padding.
|
thank you for this block of code @onka13 and now my problem is when ever i scroll the items the image at the center is a bit jumpy/jerky. |
@erylljoy24 could you please share your code. (PostLayoutListener) |
@onka13 i used this block of code `public ItemTransformation transformChild(@nonnull View child, float itemPositionToCenterDiff, int orientation) {
i don't know why it caused a jumpy scroll |
@erylljoy24 same issue i'm facing please help if you have solution |
where do i need to set the spacing between the center item?
The text was updated successfully, but these errors were encountered: