vivchar/RendererRecyclerViewAdapter
vivchar/RendererRecyclerViewAdapter has 1,197 GitHub stars and 181 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-10 22:13 UTC. Last push 2026-02-06.
Comment ces chiffres sont mesurés
A single adapter with multiple view types for the whole project
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Mise à jour retardée
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalIf you like this project you can show support by starring ⭐ this repository 🙏
Renderer RecyclerView Adapter

- Now you do not need to implement adapters for RecyclerView;
- You can easily use several types of cells in a single list;
- You can reuse cells in different RecyclerView;
- You can easily add a nested RecyclerView;
- You can easily add the DiffUtil;
- You can easily add the DiffUtil Payloads;
- You can easily save a state of a Item when scroll;
- You can easily add a Load More Indicator;
- Can be used without ViewHolder - use ViewBinder instead of ViewRenderer;
- Using this library will help you to follow SOLID principles.
Articles & Presentations
- [EN] A RecyclerView with multiple item types — Medium
- [EN] How to easily add Nested RecyclerView — Medium
- [EN] Simplifying the work with RecyclerView — Medium
- [RU] Легкая работа со списками — Habr
- [RU] Легкая работа со списками ч.2 — Habr
- [RU] Максимально упрощаем работу с RecyclerView — Habr
- [RU] История оптимизации работы с RecyclerView — MobiFest 2018
Examples
| All | View Renderer | Composite | Load More |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| ViewState | Diff Util | Payload |
|---|---|---|
![]() |
![]() |
![]() |
Wiki
https://github.com/vivchar/RendererRecyclerViewAdapter/wiki
Gradle
dependencies {
compile 'com.github.vivchar:RendererRecyclerViewAdapter:3.0.2'
}
Usage
- Step 1: Add the ViewModel interface to your UI model
public class SomeModel implements ViewModel {
...
}
- Step 2: Create your item_layout
<LinearLayout ... >
<TextView android:id = "@+id/title" ... />
<ImageView android:id = "@+id/image" ... />
<Button android:id = "@+id/button" ... />
<CustomView android:id = "@+id/custom" ... />
</LinearLayout>
- Step 3: Initialize Adapter and register the ViewBinder
mRecyclerViewAdapter = new RendererRecyclerViewAdapter();
mRecyclerViewAdapter.registerRenderer(new ViewRenderer<>(
R.layout.item_layout,
SomeModel.class,
(model, finder, payloads) -> finder
.find(R.id.custom, (ViewProvider<CustomView>) customView -> { ... })
.setBackground(R.id.image, model.getBackground())
.setText(R.id.text, model.getText())
.setOnClickListener(R.id.button, v -> { ... })
));
mRecyclerViewAdapter.registerRenderer(...); /* you can use several types of cells */
/* Regular code:
mRecyclerView = (RecyclerView) findViewById(R.id.recycler_view);
mRecyclerView.setLayoutManager(new LinearLayoutManager(this));
mRecyclerView.setAdapter(mRecyclerViewAdapter);
mRecyclerViewAdapter.setItems(getItems());
mRecyclerViewAdapter.notifyDataSetChanged();
*/
Release notes
Migrations
Projects using RendererRecyclerViewAdapter
- Camfrog: Group Video Chat;
- Paltalk: Free group video calls & chat rooms;
- DeskRoll: Gives you secure remote access to computers;
- MedikTest: Preparation for accreditation of doctors;
- KFormMaster: Easily build generic forms with minimal effort;
- KDV Online: Online store of KDV, Russian producer of snacks and confectionery products, whose goods are well known and beloved not only in Russia but also well beyond.
Send me a pull request with modified README.md to get a shoutout!
Communication
- If you need help, please use Stack Overflow.
- If you found a bug, please open Issue.
- If you have a feature request, please open Issue.
- If you want to contribute, please submit Pull request.
Star History
License
Copyright 2017 Vitaly Vivchar
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.
Explorer des projets similaires
codecrafters-io/build-your-own-x
Maîtrisez la programmation en recréant de zéro vos technologies préférées.
561,775 étoilespublic-apis/public-apis
Une liste collective d'API gratuites
498,124 étoilesmorluto/rea
Rétro-ingénierie de n'importe quoi avec des agents, du comportement des applications jusqu'aux binaires natifs.
451,952 étoilesopenclaw/openclaw
L'IA qui fait vraiment les choses. Tout système d'exploitation, toute plateforme. À la manière du homard. 🦞
394,339 étoiles





