Android_下拉刷新第三方的导入

来源:互联网 发布:js延迟一秒执行 编辑:程序博客网 时间:2024/06/16 20:01

1.下载jar包,https://github.com/chrisbanes/Android-PullToRefresh

2.


3.


4.


5.


6.


7.与项目建立依赖关系


8.


9.


10.验证:布局时如果存在此标签,则依赖建立成功

<com.handmark.pulltorefresh.library.PullToRefreshListView
android:layout_width="match_parent"android:layout_height="match_parent">
</com.handmark.pulltorefresh.library.PullToRefreshListView>

原创粉丝点击