I have a Gallery that each current item matchs the display dimensions. I want when the user try to “throw” the views to any side, instead of the automatic scrolling, I want to go just to the next View.
How can I do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check this snippet. It uses no scrolling constants, instead it relies on scolling key event to handle for different resolutions.
This piece of code belongs to a galleryView model which extends Gallery and its layout looks like this