強大的listview自定義控件集合android
Android ADTgit
Eclipsegithub
1微信
在實際項目中,如下不少控件如用到了網絡加載圖片,可能會出現性能問題,好比圖片加載不出來,滑動過快的時候會出現bug等等各類各樣的問題,這時候可能你會以爲是這些控件的bug,這裏強烈推薦凡是用圖片的都用這個網絡
https://github.com/nostra13/Android-Universal-Image-Loader app
來加載,無數項目證實這個最靠譜!!! curl
android-pulltorefreshide
(注:如需實現listview和scrollview同時存在上下拉刷新,推薦用xlistview改進版 見2)工具
一個強大的拉動刷新開源項目,支持各類控件下拉刷新,ListView、ViewPager、WevView、ExpandableListView、GridView、ScrollView、Horizontal ScrollView、Fragment上下左右拉動刷新,比下面johannilsson那個只支持ListView的強大的多。而且它實現的下拉刷新ListView在item不足一屏狀況下也不會顯示刷新提示,體驗更好。性能
項目地址:https://github.com/chrisbanes/Android-PullToRefresh
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/pull-to-refreshview-demo.apk?raw=true
2
XlistView改進版
完善Xlistview下拉刷新上拉加載更多的功能並實現自動刷新以及自動加載等功能, 並增長對ScrollView的支持
項目地址:https://github.com/MarkMjw/PullToRefresh
3
DropDownListView
下拉刷新及滑動到底部加載更多ListView
項目地址:https://github.com/Trinea/AndroidCommon
Demo地址:http://trinea.github.com/apk/trinea-android-demo.apk
文檔介紹:http://www.trinea.cn/android/dropdown-to-refresh-and-bottom-load-more-listview/
4
DragSortListView
拖動排序的ListView,同時支持ListView滑動item刪除,各個Item高度不1、單選、複選、CursorAdapter作爲適配器、拖動背景變化等
項目地址:https://github.com/bauerca/drag-sort-listview
Demo地址:https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv
5
SwipeListView
支持定義ListView左右滑動事件,支持左右滑動位移,支持定義動畫時間
項目地址:https://github.com/47deg/android-swipelistview
Demo地址:https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
6
Android-SwipeToDismiss
滑動Item消失ListView
項目地址:https://github.com/romannurik/Android-SwipeToDismiss
支持3.0如下版本見:https://github.com/JakeWharton/SwipeToDismissNOA
Demo地址:https://github.com/JakeWharton/SwipeToDismissNOA/SwipeToDismissNOA.apk/qr_code
7
PinnedHeaderExpandableListView
首先它是一個ExpandableListView,可是它的頭部能夠固定,其次,在它的上面還有一個頭部能夠來回伸縮
項目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView
APP示例:百度手機衛士垃圾清理界面
8
StickyListHeaders
GroupName滑動到頂端時會固定不動直到另一個GroupName到達頂端的ExpandListView,支持快速滑動,支持Android2.3及以上
項目地址:https://github.com/emilsjolander/StickyListHeaders
APP示例:Android 4.0聯繫人
9
pinned-section-listview
GroupName滑動到頂端時會固定不動直到另一個GroupName到達頂端的ExpandListView
項目地址:https://github.com/beworker/pinned-section-listview
10
PinnedHeaderListView
GroupName滑動到頂端時會固定不動直到另一個GroupName到達頂端的ExpandListView
項目地址:https://github.com/JimiSmith/PinnedHeaderListView
11
QuickReturn
ListView/ScrollView的header或footer,當向下滾動時消失,向上滾動時出現
項目地址:https://github.com/lawloretienne/QuickReturn
Demo地址:https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturn
12
QuickReturnHeader
ListView/ScrollView的header或footer,當向下滾動時消失,向上滾動時出現
項目地址:https://github.com/ManuelPeinado/QuickReturnHeader
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=trueAPP示例:google plus
13
IndexableListView
ListView右側會顯示item首字母快捷索引,點擊可快速滑動到某個item
項目地址:https://github.com/woozzu/IndexableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=trueAPP示例:微信通信錄、小米聯繫人
14
CustomFastScrollView
ListView快速滑動,同時屏幕中間PopupWindows顯示滑動到的item內容或首字母
項目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo效果圖:
15
Android-ScrollBarPanel
ListView滑動時固定的Panel指示顯示在scrollbar旁邊
項目地址:https://github.com/rno/Android-ScrollBarPanel
效果展現:https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png
16
SlideExpandableListView
用戶點擊listView item滑出固定區域,其餘item的區域收縮
項目地址:https://github.com/tjerkw/Android-SlideExpandableListView
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true
JazzyListView
ListView及GridView item以特殊動畫效果進入屏幕,效果包括grow、cards、curl、wave、flip、fly等等
項目地址:https://github.com/twotoasters/JazzyListView
Demo地址:https://play.google.com/store/apps/details?id=com.twotoasters.jazzylistview.sample效果展現:http://lab.hakim.se/scroll-effects/
ListViewAnimations
帶Item顯示動畫的ListView,動畫包括底部飛入、其餘方向斜飛入、下層飛入、漸變消失、滑動刪除等
項目地址:https://github.com/nhaarman/ListViewAnimations
Demo地址:https://play.google.com/store/apps/details?id=com.haarman.listviewanimations
APP示例:Google plus、Google Now卡片式進入、小米系統中應用商店、聯繫人、遊戲中心、音樂、文件管理器的ListView、Ultimate、Light Flow Lite、TreinVerkeer、Running Coach、Pearl Jam Lyrics、Calorie Chart、Car Hire、Super BART、DK FlashCards、Counter Plus、Voorlees Verhaaltjes 2.0
DevsmartLib-Android
橫向ListView
項目地址:https://github.com/dinocore1/DevsmartLib-Android
Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true
TwoWayView
橫向ListView的效果,繼承自AdapterView
項目地址:https://github.com/lucasr/twoway-view
HorizontalVariableListView
支持Item寬度不一致的ListView
項目地址:https://github.com/sephiroth74/HorizontalVariableListView
LinearListView
用LinearLayout實現的ListView,可解決多個ListView並存等問題。目前本身也有須要,等親自嘗試事後會再具體介紹
項目地址:https://github.com/frankiesardo/LinearListView
MultiChoiceAdapter
支持多選的ListView Adapter
項目地址:https://github.com/ManuelPeinado/MultiChoiceAdapter
Demo地址:https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo
EnhancedListView
支持橫向滑動刪除列表項以及撤銷刪除的ListView,該項目的前身是SwipeToDismissUndoList
項目地址:https://github.com/timroes/EnhancedListView
Demo地址:https://play.google.com/store/apps/details?id=de.timroes.android.listviewdemo&rdid=de.timroes.android.listviewdemo
ListBuddies
自動滾動的雙列ListView ,兩個ListView滾動速度不一致,有視差效果
項目地址:https://github.com/jpardogo/ListBuddies
Demo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies
PullToZoomInListView
滑動ListView時使其HeaderView跟隨滑動縮放
項目地址:https://github.com/matrixxun/PullToZoomInListView效果展現: