-
Notifications
You must be signed in to change notification settings - Fork 617
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
Snap center can't see the last item completely #26
Comments
Snap center means: center the closest item near the center. In this case it's the Slides card. The other views don't matter. |
Thank you for reply, the problem is that you can't see the last item completely. |
I know, but this isn't a library issue. If you need to show the last item, you need to pick another SnapHelper or adjust the card size so that it can fit at least 3 visible items at the same time :) |
Unless you mean extending LinearSnapHelper to something that overcomes this? As in a feature request. |
Thank you for reply, you are right . I am trying to implement a custom SnapHelper which can overcomes this. |
@dingbuoyi I'll add this in 2.2.0. |
Let's follow this in #21 |
If you change the CardView's "layout_width" to 152dp which is in the adapter.xml,
then for the type which is "Snap center" in the demo app can't see the first and last item completely.
The text was updated successfully, but these errors were encountered: