RecycleviewStaggered
ecycleview进阶用法,实现复杂页面,包含瀑布流。最主要的类就是HomepagerRecycleAdapter,适配器-
MultipleItemRvAdapter
基于BaseRecyclerViewAdapterHelper封装多条目适配器
https://github.com/chaychan/MultipleItemRvAdapter
在项目根目录下的build.gradle中的allprojects{}中,添加jitpack仓库地址,如下:
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }//添加jitpack仓库地址
}
}
打开app的module中的build.gradle,在dependencies{}中,添加依赖,如下:
dependencies {
compile 'com.github.chaychan:MultipleItemRvAdapter:1.0.2' //建议使用最新版本
}
-
base-rvadapter
Android 万能的Adapter for ListView,RecyclerView,GridView等,支持多种Item类型的情况。
https://github.com/hongyangAndroid/baseAdapter
compile 'com.zhy:base-rvadapter:3.0.3'
implementation 'com.zhy:base-rvadapter:3.0.3'
-
BRVAH
一个强大的RecyclerAdapter框架
https://www.jianshu.com/p/b343fcff51b0
https://github.com/CymChad/BaseRecyclerViewAdapterHelper
dependencies {
implementation'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
}
-
RecyclerRefreshLayout
RecyclerRefreshLayout based on the {@link android.support.v4.widget.SwipeRefreshLayout}
https://github.com/dinuscxj/RecyclerRefreshLayout
implementation'com.dinuscxj:recyclerrefreshlayout:2.0.5'
RecyclerView开源框架
-
BaseRecyclerViewAdapterHelper
先在 build.gradle(Project:XXXX) 的 repositories 添加:
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
然后在 build.gradle(Module:app) 的 dependencies 添加:
dependencies {
//compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.36'
}
https://github.com/CymChad/BaseRecyclerViewAdapterHelper
https://www.jianshu.com/p/b343fcff51b0
-
KingsGirls
项目采用RXJava + Retrofit + OKHttp + Material Design + Base + Glide构建,数据来自gank.io。是一款以瀑布流的形式展示美女福利的App
https://github.com/jenly1314/KingsGirls
-
EasyRecyclerView
RecyclerView列表,具有刷新,加载更多,功能。
https://github.com/Jude95/EasyRecyclerView
compile 'com.jude:easyrecyclerview:4.4.2'
-
PullLoadMoreRecyclerView
实现RecyclerView下拉刷新和上拉加载更多以及RecyclerView线性、网格、瀑布流效果演示
https://github.com/WuXiaolong/PullLoadMoreRecyclerView
compile 'com.wuxiaolong.pullloadmorerecyclerview:library:1.1.2'
-
UltimateRecyclerView
RecyclerView列表,具有刷新,加载更多,动画和许多其他功能。
https://github.com/cymcsg/UltimateRecyclerView
implementation 'com.marshalchen.ultimaterecyclerview:library:0.7.3'
compile 'com.marshalchen.ultimaterecyclerview:library:0.7.3'
-
MultiType
多条目列表的RecyclerView
https://github.com/drakeet/MultiType
implementation 'me.drakeet.multitype:multitype:3.4.4'
-
XRefreshView
一个万能的android下拉上拉刷新的框架,完美支持recyclerview
https://github.com/huxq17/XRefreshView
dependencies {
implementation 'com.huxq17.xrefreshview:xrefreshview:3.6.9'
//依赖下面的库
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:support-v4:23.0.1'
}
-
Y_DividerItemDecoration
RecyclerView列表条目分割线
https://github.com/yanyusong/Y_DividerItemDecoration
implementation 'com.yanyusong.y_divideritemdecoration:y_divideritemdecoration:2.0'
compile 'com.yanyusong.y_divideritemdecoration:y_divideritemdecoration:2.0'
-
Ultra Pull To Refresh
下拉刷新,上拉加载
https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
中文文档:
https://github.com/liaohuqiu/android-cube-app
compile 'in.srain.cube:ultra-ptr:1.0.11'
implementation 'in.srain.cube:ultra-ptr:1.0.11'
-
xadapter
下拉刷新,上拉加载
https://github.com/7449/XAdapter/tree/notrefresh
中文文档
compile 'com.xadapter:xadapter:0.1.8'
//compile 'com.xadapter:xadapter:0.1.8'
implementation'com.xadapter:xadapter:0.1.8'
-
pullloadmorerecyclerview
可以下拉刷新,上拉加载的recyclerview
compile 'com.wuxiaolong.pullloadmorerecyclerview:library:1.1.2'
-
bga-adapter
ListView,RecyclerView使用的适配器框架
compile 'cn.bingoogolapple:bga-adapter:1.1.5@aar'