问题
I need to make bounce effect to my listview in android.ie when I scroll down listview has to scroll beyond its starting point and the come back to its original position Please help..
回答1:
as you not posted your code(I think it is also not required as per your question). So I am giving a Custom Widget
It is custom widget of listview (not that much complicated, just animation is added into it)
use the library for your application.
and also from that in PullToRefreshActivity there is mListItems.addFirst("Added after refresh..."); statement just remove it if you want..
(don't worry about activity name or class name
here target is you got your result)
i.e bounce effect to Listview
If you satisfy..then Please accept the answer..
回答2:
By the looks of things in the ScrollView API you should be able to override the onOverScrolled() method if you create a custom view that extends the ScrollView class.
来源:https://stackoverflow.com/questions/14747525/how-can-i-make-bounce-effect-to-listview-as-in-ios