Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Nov 15, 2019
1 parent fa1b3e8 commit 2e0c920
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,27 @@
[![Apache License 2.0][3]][4]
[![API][5]][6]

自定义RecyclerView实现:下拉刷新、加载更多、设置 HeaderView / FooterView / EmptyView、item点击事件;BaseRecyclerAdapter、BaseListAdapter
自定义RecyclerView实现:下拉刷新、加载更多、设置 HeaderView / FooterView / EmptyView、item点击/长按事件;
优化过的Adapter,极简,减少大量代码,可结合DataBinding使用


## 功能特性
- 1.支持 下拉刷新、加载更多
- 2.可设置自定义 下拉刷新布局 和 加载更多布局
- 3.添加/移除 HeaderView、FooterView
- 4.设置空布局 EmptyView
- 5.添加item的点击/长按事件
- 6.可随意切换 自带下拉刷新布局 / SwipeRefreshLayout
- 7.优化过的BaseAdapter (RecyclerView / ListView),减少大量代码
- 8.Adapter结合DataBinding (RecyclerView / ListView)
- 9.添加分隔线与间距(LinearLayout / GridLayout / StaggeredGridLayout)
- 10.默认使用AndoridX,且支持Support
- 2.可随意切换 自带下拉刷新布局 / SwipeRefreshLayout
- 3.加载更多机制:**手动上拉才执行加载更多**
- 4.可设置自定义 下拉刷新布局 和 加载更多布局
- 5.添加/移除 HeaderView、FooterView
- 6.设置空布局 EmptyView
- 7.添加item的点击/长按事件
- 8.优化过的BaseAdapter (RecyclerView / ListView),减少大量代码
- 9.Adapter结合DataBinding使用 (RecyclerView / ListView)
- 10.可添加万能分隔线(LinearLayout / GridLayout / StaggeredGridLayout)
- 11.默认使用AndoridX,且支持Support


## 文档
- [项目介绍](https://github.com/youlookwhat/ByRecyclerView/blob/master/art/md_project_introduction.md)
<!-- - [详情使用]()-->
- [详情使用](https://github.com/youlookwhat/ByRecyclerView/blob/master/art/md_use_detail.md)

## 简单接入
### 引入
Expand Down
7 changes: 0 additions & 7 deletions art/md_use_detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,3 @@ recyclerView.setLoadingMoreBottomHeight(50);
recyclerView.setLoadingMoreView(new NeteaseLoadMoreView(this));
recyclerView.setRefreshHeaderView(new NeteaseRefreshHeaderView(this));
```

## About me
- **QQ:** 770413277
- **简书:**[Jinbeen](http://www.jianshu.com/users/e43c6e979831/latest_articles)
- **Blog:**[http://jingbin.me](http://jingbin.me)
- **Email:** jingbin127@163.com
- **QQ交流群:**[![](https://img.shields.io/badge/%E7%BE%A4%E5%8F%B7-727379132-orange.svg?style=flat-square)](https://shang.qq.com/wpa/qunwpa?idkey=5685061359b0a767674cd831d8261d36b347bde04cc23746cb6570e09ee5c8aa)

0 comments on commit 2e0c920

Please sign in to comment.