-
Notifications
You must be signed in to change notification settings - Fork 33
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 implement scroll snap point effect? #11
Comments
Check my other repository. Deprecated one. CoverFlow there has this
|
please provide link. |
@kiranboghra If you still need help with this I am implemented in my forked release. |
@gintechsystems in your repository did u managed how to make scroll to position to work? One issue I have when I just uncomment the function "carousel.scrollToItemPosition(position);" in onClickListener is that some views do a visual flickering. The other issue it's a little more complex to explain. But my idea is to scroll to a card that it's not displayed in the screen. Do you have any idea how to solve this? |
@ashenriques Take this to my repo please, I have gotten that to work using setSelection, I believe. |
@gintechsystems you have your issues section disabled in your repo (try this -> http://programmers.stackexchange.com/questions/179468/forking-a-repo-on-github-but-allowing-new-issues-on-the-fork. The method setSelection centers the clicked card, but does not animate the scroll to it. |
When user stop scrolling and MotionEvent.ACTION_UP is called in Carousel selected item should move to center point (Scroll snap point), is there any way or suggestionfor this functionality?
The text was updated successfully, but these errors were encountered: