首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

Android UI-自定义ListView(实现时拉刷新+加载更多)

2013-10-10 
Android UI--自定义ListView(实现下拉刷新+加载更多)Android UI--自定义ListView(实现下拉刷新加载更多)关

Android UI--自定义ListView(实现下拉刷新+加载更多)
Android UI--自定义ListView(实现下拉刷新+加载更多)
关于实现ListView下拉刷新和加载更多的实现,我想网上一搜就一堆。不过我就没发现比较实用的,要不就是实现起来太复杂,要不就是不健全的。因为小巫近期要开发新浪微博客户端,需要实现ListView的下拉刷新,所以就想把这个UI整合到项目当中去,这里只是一个demo,可以根据项目的需要进行修改。
就不要太在乎界面了哈:


Android UI-自定义ListView(实现时拉刷新+加载更多)Android UI-自定义ListView(实现时拉刷新+加载更多)
Android UI-自定义ListView(实现时拉刷新+加载更多)Android UI-自定义ListView(实现时拉刷新+加载更多)
Android UI-自定义ListView(实现时拉刷新+加载更多)Android UI-自定义ListView(实现时拉刷新+加载更多)


知道你们想要源码了,去下吧:http://download.csdn.net/detail/wwj_748/6373183


自定义ListView:

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:orientation="vertical" >    <!--    The PullToRefreshListView replaces a standard ListView widget.    自定义列表在这    -->    <com.markupartist.android.widget.PullToRefreshListView        android:id="@+id/weibolist"        android:layout_width="match_parent"        android:layout_height="match_parent"         android:cacheColorHint="#00000000"        android:fastScrollEnabled="true"/></LinearLayout>








热点排行