views:

40

answers:

1

Does anyone know how to achieve the "scroll past top" functionality that you see in some apps (like the HTC Sense email app for example) where when you scroll up to the top of the list and try to scroll up past that, it appears to pull down, and when you release it springs back up?

A: 

As far as I know, there is no built-in way to achieve this look with the default ListViews. Everyone who has done this implemented their own custom ListView widget that supports this functionality.

Daniel Lew
have you done this Daniel? Can you post the code? :)
Ben
Nope, I haven't done it. But I've talked to developers who have, and they said they had to roll their own implementations.
Daniel Lew
dang. do you know if they built their own listview from scratch? or did they just extend the existing listview?
Ben
The one that I talked to in detail said they built it entirely from scratch, but then I think they did that with the many widgets they had so it doesn't surprise me. That said, Android is open source, so it's not hard to build off of the original ListView.
Daniel Lew