Possible Duplicate:
How to implement Android Pull-to-Refresh
I have implemented pull to refresh in my app which works fine in 2.2, but in 2.0 it doesn't.
I couldn't find the method 'smoothScrollBy()' in 2.0.
Can anyone please give me the solution for this issue or any other alternative? How can I acheive pull to refresh functionality like in iphone?
Thanks..
You could also take a look to Johan Nilsson's android-pulltorefresh library:
https://github.com/johannilsson/android-pulltorefresh
It provides an out-of-the-box "pull to refresh" widget that replace the basic Android ListView.