An Android library that simplifies RecyclerView adapter setup with headers, footers, animations, and load-more patterns.
Overview
Base RecyclerView Adapter Helper (BRVAH) is an Android library aimed at making RecyclerView adapters easier to build and maintain. It wraps common adapter patterns so developers spend less time on boilerplate when lists need clicks, multiple view types, or empty states.
The library supports item click listeners, adapter animations, optional header and footer views, drag-and-slide deletion, automatic load-more behavior, and custom item view types. An empty layout can be configured when the data set has no rows.
Version 4.x is designed to work with ConcatAdapter, splits features into clearer modules, and ships to Maven Central so extra repository configuration is usually unnecessary. Older 2.x and 3.x lines remain usable for existing apps. ProGuard rules are bundled and imported automatically in typical setups.
Documentation and demos are provided for current releases in English and Chinese.
Key features
- RecyclerView adapter base classes
- Header and footer views
- Item click listeners
- Adapter item animations
- Drag and slide delete
- Auto load more
- Multiple item view types
- Empty layout support
Use cases
- Android list and grid screens
- Paged or infinite scrolling lists
- Lists with mixed row layouts