个性化控件之ListView


listview自定义控件集合

1、Android-Universal-Image-Loader

在实际项目中,以下很多控件如用到了网络加载图片,可能会出现性能问题,比如图片加载不出来,滑动过快的时候会出现bug等等各种各样的问题,这时候可能你会觉得是这些控件的bug,这里强烈推荐凡是用图片的都用这个
https://github.com/nostra13/Android-Universal-Image-Loader

来加载,无数项目证明这个最靠谱!!! 


2、android-pulltorefresh
(注:如需实现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


3、XlistView改进版
完善Xlistview下拉刷新上拉加载更多的功能并实现自动刷新以及自动加载等功能, 并增加对ScrollView的支持

项目地址:https://github.com/MarkMjw/PullToRefresh


4、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/


5、DragSortListView
拖动排序的ListView,同时支持ListView滑动item删除,各个Item高度不一、单选、复选、CursorAdapter做为适配器、拖动背景变化等
项目地址: https://github.com/bauerca/drag-sort-listview

Demo地址:

https://play.google.com/store/apps/details?id=com.mobeta.android.demodslv


6、SwipeListView
支持定义ListView左右滑动事件,支持左右滑动位移,支持定义动画时间
项目地址: https://github.com/47deg/android-swipelistview

Demo地址:

https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview


7、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


8、PinnedHeaderExpandableListView
首先它是一个ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩

项目地址:

https://github.com/singwhatiwanna/PinnedHeaderExpandableListView

APP示例:百度手机卫士垃圾清理界面


9、StickyListHeaders
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView,支持快速滑动,支持Android2.3及以上
项目地址: https://github.com/emilsjolander/StickyListHeaders

APP示例:Android 4.0联系人


10、pinned-section-listview
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView

项目地址:https://github.com/beworker/pinned-section-listview


11、PinnedHeaderListView
GroupName滑动到顶端时会固定不动直到另外一个GroupName到达顶端的ExpandListView

项目地址:https://github.com/JimiSmith/PinnedHeaderListView


12、QuickReturn
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址: https://github.com/lawloretienne/QuickReturn

Demo地址:

https://play.google.com/store/apps/details?id=com.etiennelawlor.quickreturn


13、QuickReturnHeader
ListView/ScrollView的header或footer,当向下滚动时消失,向上滚动时出现
项目地址: https://github.com/ManuelPeinado/QuickReturnHeader

Demo地址:

https://github.com/Trinea/TrineaDownload/blob/master/quick-return-header-demo.apk?raw=true

APP示例:google plus


14、IndexableListView
ListView右侧会显示item首字母快捷索引,点击可快速滑动到某个item
项目地址: https://github.com/woozzu/IndexableListView

Demo地址:

https://github.com/Trinea/TrineaDownload/blob/master/indexable-listview.apk?raw=true

Android高手必学个性化控件之ListView

    15、CustomFastScrollView
    ListView快速滑动,同时屏幕中间PopupWindows显示滑动到的item内容或首字母

    项目地址:https://github.com/nolanlawson/CustomFastScrollViewDemo


    16、Android-ScrollBarPanel

    ListView滑动时固定的Panel指示显示在scrollbar旁边
    项目地址: https://github.com/rno/Android-ScrollBarPanel

    Android高手必学个性化控件之ListView


    17、SlideExpandableListVie w
    用户点击listView item滑出固定区域,其他item的区域收缩
    项目地址: https://github.com/tjerkw/Android-SlideExpandableListView
    Demo地址:

    https://github.com/Trinea/TrineaDownload/blob/master/slide-expandable-listView-demo.apk?raw=true


    18、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/


    19、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


    20、DevsmartLib-Android
    横向ListView
    项目地址: https://github.com/dinocore1/DevsmartLib-Android

    Demo地址:

    https://github.com/Trinea/TrineaDownload/blob/master/horizontal-listview-demo.apk?raw=true


    21、TwoWayView
    横向ListView的效果,继承自AdapterView

    项目地址:https://github.com/lucasr/twoway-view


    22、HorizontalVariableListView
    支持Item宽度不一致的ListView

    项目地址:https://github.com/sephiroth74/HorizontalVariableListView


    23、LinearListView
    用LinearLayout实现的ListView,可解决多个ListView并存等问题。目前自己也有需要,等亲自尝试过后会再具体介绍

    项目地址:https://github.com/frankiesardo/LinearListView


    24、MultiChoiceAdapter
    支持多选的ListView Adapter
    项目地址: https://github.com/ManuelPeinado/MultiChoiceAdapter

    Demo地址:

    https://play.google.com/store/apps/details?id=com.manuelpeinado.multichoiceadapter.demo


    25、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


    26、ListBuddies
    自动滚动的双列ListView ,两个ListView滚动速度不一致,有视差效果
    项目地址: https://github.com/jpardogo/ListBuddies

    Demo地址:https://play.google.com/store/apps/details?id=com.jpardogo.android.listbuddies


    27、PullToZoomInListView
    滑动ListView时使其HeaderView跟随滑动缩放
    项目地址: https://github.com/matrixxun/PullToZoomInListView

    Android高手必学个性化控件之ListView


    参考:
    http://jingyan.baidu.com/article/03b2f78c77ebb45ea337ae52.html


    • 0
      点赞
    • 0
      收藏
      觉得还不错? 一键收藏
    • 0
      评论
    评论
    添加红包

    请填写红包祝福语或标题

    红包个数最小为10个

    红包金额最低5元

    当前余额3.43前往充值 >
    需支付:10.00
    成就一亿技术人!
    领取后你会自动成为博主和红包主的粉丝 规则
    hope_wisdom
    发出的红包
    实付
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

    余额充值