Skip to content
Projects

CNCoderX/RecyclerViewHelper

View on GitHub

About

RecyclerView功能拓展

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

简介

RecyclerViewHelper是基于android 原生库RecyclerView的功能扩展,扩展的功能包括:

  • Item的点击/长按事件
  • 添加Header/Footer View
  • 滑动到底部加载更多(Load More)
  • 可收缩/展开的两级列表(类似ExpandableListView)
  • 非常简单的添加分割线和列表间距
  • Item抽屉效果(Swipe Layout)
  • 拓展了多种适配器Adapter

增加的适配器

  • ArrayAdapter
  • SimpleAdapter
  • CursorAdapter、SimpleCursorAdapter
  • ObjectAdapter
  • ExpandableAdapter

添加依赖

compile 'com.github.CNCoderX:RecyclerViewHelper:1.2.5'

// 如果需要添加抽屉功能,添加依赖:
compile "com.daimajia.swipelayout:library:1.2.0@aar"

Explore related projects

Loading…