Here are a few pull-to-refresh implementations:

http://stackoverflow.com/questions/4583484/how-to-implement-android-pull-to-refresh

On Mon, Oct 31, 2011 at 2:05 PM, kcbanner <[email protected]> wrote:
> Hi,
>
> I have had success implementing a Twitter-style pull to refresh
> ListView, with one small caveat: I can't find a way to make the header
> view take no space up on the scrollbar (my pull to refresh view is
> added to the ListView as a header).
>
> I have setup onScrollListeners and onTouchEvent handlers to create the
> pull to refresh behaviour, including disabling a fling scroll from
> going all the way up to the header position. However, the problem I
> have is that the scrollbar reveals that there is a header in the
> ListView. I would like to have the scrollbar appear as though the
> ListView is scrolled all the way up, even though there is a header in
> position 0. Is there a way to do this? I have tried leveraging over
> scrolling without success.
>
> Thanks,
> Casey
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to