Is there a sane way to programatically scroll to show a specific component in a Gallery – the equivalent of setSelection(int) but with smooth scrolling rather than a direct jump?
Share
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.
I think I’ve found an easy way to do it ! It consists of calling the onFling() method directly…
There should be a better way to do it. onFling() should be called when the Gallery gets flinged, not to fling it.