Android的PullTo刷新上滚动型 [英] Android PullTo Refresh on ScrollView

查看:112
本文介绍了Android的PullTo刷新上滚动型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道pullToRefresh一样的功能可在iPhone和Android的,我们必须manualy管理。

I know that pullToRefresh like functionality is available in the iPhone and for the Android we have to manage it manualy.

我得到了一些例子中,有pullToRefresh但它在ListView中唯一的。

I got some example the having pullToRefresh but it works on the ListView only.

在我来说,我要实现的滚动视图。喜欢的东西PullToRefresh提供DrawFree应用程序在谷歌播放。

In My case i want to implement for the Scrollview. Something like PullToRefresh available in DrawFree app in Google Play.

请参见下图:

那么,如何实现它?

任何实际的例子来实现这将是非常美联社preciated。

Any Example to implement it would be really appreciated.

在此先感谢。

推荐答案

这是实施拉ListView中刷新一个很好的例子,GridView控件,web视图,可扩展的ListView。

This is a excellent example of implementing pull to refresh in ListView,GridView,WebView,Expandable ListView.

您可以用这个例子并更改根据您的意见。

You can use this example and make changes according to your Views.

<一个href="https://github.com/chrisbanes/Android-PullToRefresh">https://github.com/chrisbanes/Android-PullToRefresh

这篇关于Android的PullTo刷新上滚动型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆