中文
| English
Possibly the Most Powerful RecyclerView Framework
Documentation
| Access Issues?
| Contribute
| Download Demo
BRV is a tool for quickly building RecyclerView lists, improved through open source sharing, and will always maintain community maintenance.
Contributions Welcome
- [x] #1 in Development Efficiency
- [x] Continuous Community Maintenance
- [x] Low Code / High Extensibility
- [x] Excellent Source Code / Comments / Documentation / Examples
## Features
- [x] Quick creation of multi-type lists
- [x] One-to-one/one-to-many multi-type creation
- [x] Add header and footer layouts
- [x] Click (debounce)/long press events
- [x] Grouping (expand/collapse/recursive/expand to top/drag/swipe/multi-type/single expand mode)
- [x] Sticky headers
- [x] Quick creation of dividers/spacing
- [x] Toggle modes (e.g., edit mode)
- [x] Selection mode (multi-select/single-select/select all/deselect all/inverse selection)
- [x] Drag and drop sorting
- [x] Swipe to delete
- [x] Pull to refresh | Load more | Up fetch ([SmartRefreshLayout](https://github.com/scwang90/SmartRefreshLayout))
- [x] Preloading
- [x] Data diff updates
- [x] Automatic pagination
- [x] List animations/skeleton loading
- [x] List placeholder pages ([StateLayout](https://github.com/liangjingkanji/StateLayout))
- [x] DataBinding support
- [x] ViewBinding support
- [x] Support for [FlexboxLayoutManager](https://github.com/google/flexbox-layout)
- [x] Can add [Net](https://github.com/liangjingkanji/Net) for automated network requests
## Installation
Add repository to Project's settings.gradle
```kotlin
dependencyResolutionManagement {
repositories {
// ...
maven { url 'https://jitpack.io' }
}
}
```
Add dependency to Module's build.gradle
```groovy
dependencies {
implementation 'com.github.liangjingkanji:BRV:1.6.1'
}
```
## License
```
MIT License
Copyright (c) 2023 劉強東
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```