Skip to content

gitter-badger/BRV

 
 

Repository files navigation

BRV

1600

可能是最强大的RecyclerView框架

使用文档


搜索文件: nav_main 打开即可查看和跳转侧滑菜单所有功能界面 (任何疑问点击QQ群作者一对一解答)

特点

  • 简洁代码
  • 功能全面
  • 非侵入式
  • 不创建任何文件
  • 刷新不闪屏
  • 数据双向绑定(DataBinding)
  • DSL作用域
  • 高扩展性
  • 文档详细
  • Demo简单

功能

  • 多类型
  • 单一数据模型一对多
  • 多数据模型
  • 添加头布局和脚布局
  • 点击(防抖动)/长按事件
  • 分组(展开折叠/递归层次/展开置顶/单一展开模式)
  • 悬停
  • 分割线/均布间隔(支持官方全部的LayoutManager)
  • 切换模式
  • 选择模式(多选/单选/全选/取消全选/反选)
  • 拖拽位置
  • 侧滑删除
  • 下拉刷新 | 上拉加载, 扩展SmartRefreshLayout即兼容其所有功能
  • 预拉取索引(UpFetch) | 预加载索引(Preload)
  • 缺省页
  • 自动分页加载
  • 伸缩布局 (FlexboxLayoutManager)
  • 可扩展自动化网络请求 (Net), 该网络请求基于协程实现自动化的并发网络请求

在项目根目录的 build.gradle 添加仓库

allprojects {
    repositories {
        // ...
        maven { url 'https://jitpack.io' }
    }
}

在 module 的 build.gradle 添加依赖

implementation 'com.github.liangjingkanji:BRV:1.3.19'

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android上最强大的RecyclerView库

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 56.1%
  • Java 43.9%