Any way of adding ListView’s bounce effect to regular scrollview?
By bounce I mean the rubber band like effect when you hit the bottom of the list.
Any way of adding ListView’s bounce effect to regular scrollview? By bounce I mean
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.
By the looks of things in the
ScrollViewAPI you should be able to override theonOverScrolled()method if you create a custom view that extends theScrollViewclass. After doing a quick Google search I came across this link and it looks as if this is what you are trying to do… I do believe this method was added in Android 2.3.1 though so you will be limited to devices running that.