{"repo":"gotev/recycler-adapter","free":true,"listed":false,"github":"https://github.com/gotev/recycler-adapter","clone":"git clone https://github.com/gotev/recycler-adapter.git","description":"RecyclerView-driven declarative UIs","language":"Kotlin","stars":124,"topics":["recyclerview","android","adapter","table","list","listview","declarative","ui","mvvm","view"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Recycler Adapter Latest version Release Notes and Demo App Demo App Sources RecyclerView-driven declarative UIs. Using stock Android View system and Recycler Adapter, you can already write UIs similar to JetPack Compose and use it in production. Every time you call render , RecyclerAdapter takes care of updating the RecyclerView and make the needed diffings to reflect the new status. Underneath it uses DiffUtil for maximum performance and efficiency. Standard RecyclerView.Adapter is tedious to work with, because you have to write repetitive boilerplate and spaghetti code and to concentrate all your items view logic and binding into the adapter itself, which is really bad. This library was born to be able to have the following for each element in a recycler view: a model , which is a simple data class a programmatic View or an XML layout file, in which to define the item's view hierarchy a view model file (called AdapterItem ), in which to specify the binding between the model and the view and in which to handle user interactions with the item. In this way every item of the recycler view has its own set of files, resulting in a cleaner and easier to maintain code base. Examples Before diving into some details, it's worth mentioning you can download and try those example apps which are using the library: - Recycler Adapter Demo App - Star Wars Api Demo App Index Setup Basic usage tutorial Diffing strategy Stable IDs Adding different kind of items Carousels and nested RecyclerVi","default_branch":null,"files":null,"tree":[],"storefront":"/r/gotev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gotev/recycler-adapter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}