Skip to content

Latest commit

 

History

History
119 lines (94 loc) · 4.9 KB

README_EN.md

File metadata and controls

119 lines (94 loc) · 4.9 KB

中文 | English

1600

Probably the most powerful RecyclerView framework

Documentation | Can't Access? | Contribute Code | Download Demo App


BRV is a tool for quickly building an RV list, perfected by open source sharing, and will always be maintained by the community


Contribute Code / Report Issues


  • Development efficiency No.1
  • Maintained by the community forever
  • Low code/high extensibility
  • Excellent source code/comments/documentation/examples

Features

  • Quickly create multi-type lists

  • One-to-one/one-to-many multi-type creation

  • Add header and footer views

  • Click (debounce)/long press events

  • Grouping (expand/collapse/recursively/nested/expand and stick/top/ drag and swipe/multi-type/single expand mode)

  • Sticky header

  • Quickly create dividers/spaces

  • Switch mode (e.g., switch to edit mode)

  • Selection mode (multi-select/single-select/select all/deselect all/invert selection)

  • Drag and drop sorting

  • Swipe to delete

  • Pull-down refresh (Refresh) | Pull-up load more (LoadMore) | Pull-down load more (UpFetch), implemented by SmartRefreshLayout

  • Preload

  • Data update with diffing

  • Automatic pagination loading

  • List animation/skeleton animation

  • List empty state, implemented by StateLayout

  • Support DataBinding

  • Support ViewBinding

  • Add FlexboxLayoutManager to automatically wrap flexbox layout

  • Add Net (powerful coroutine network request) to automate network requests

Installation

Add the remote repository to the root build.gradle file

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

Then, add the framework dependency to the module's build.gradle file:

dependencies {
    implementation 'com.github.liangjingkanji:BRV:1.5.8'
}

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.