我使用此站点https://github.com/johannilsson/android-pulltorefresh/tree/master/pulltorefresh完美地添加了“pulltorefresh”库。但是,当第一次在listview中使用下面的组件(无数据)时没有日期并且拉取视图但没有刷新开始(我知道没有数据)。如果列表中没有数据,如何处理这个排列。PullToRefresh刷新问题
<com.markupartist.android.widget.PullToRefreshListView
android:id="@+id/pullview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="@android:color/transparent"
android:divider="#19000000"
android:dividerHeight="1dp"
android:fadingEdge="none"
android:fastScrollEnabled="false"
android:footerDividersEnabled="false"
android:headerDividersEnabled="false"
android:smoothScrollbar="true" />
如何在用户从上到下滑动时空白视图和拉动新鲜开始?
如何自动执行pullto刷新视图(不点击)此库中存在任何方法?
感谢另一个例子中,我知道SwipeRefreshLayoutActivity但在这个类如何改变头刷(加载)的变化pulltorefresh样式集.means进度条在视野头中心 – Sanket990 2014-11-06 07:25:17
设置,那么你可以尝试https://github.com/chrisbanes/ActionBar-PullToRefresh开发者,chris banes现在在谷歌,为支持库工作。 libray声明它已被弃用,但只有现在是官方的。 – Dodge 2014-11-06 07:28:05