Android comes with a few "wrapper" classes, like
CursorWrapper, that make it relatively easy for you to add just a bit of functionality to an existing object. The wrapper delegates all behaviors to the wrapped object; you just override the specific behaviors you need. This works well in cases where there are many possible underlying implementations, so you could not robustly accomplish these ends by subclassing.
Android lacks such a wrapper for
ListAdapter, though. There is a
WrappedListAdapter entry in the SDK, but it is an interface, not an implementation.
So, CWAC offers an
AdapterWrapper to fill this void.
PrimeAdapter makes working with
RecyclerView easier by separating required code in a few simple and well-structured classes. It brings simplicity when you have multiple view types in a
RecyclerView. By using annotation processing, it generates unique view types automatically to make the code more clear. You can use PrimeAdapter in both Kotlin and Java Android projects as the sample apps are written.
ListView in Android supports header and footer views - views that do not belong to the underlying adapter but otherwise show up in the list and scroll along with the contents. However, they only work if you have not yet set your own adapter and are therefore not terribly flexible.
SackOfViewsAdapter is another way of approaching this. Here, you provide the
Views that make up the rows, and the adapter feeds them to Android as if they were newly created.
SackOfViewsAdapter is designed to be sub-classed, mostly to determine how isEnabled() behaves, so you can control which of those views are selectable and which simply scroll with the list.
An Adapter that allows a
RecyclerView to be split into Sections with headers and/or footers.
MergeAdapter accepts a mix of Adapters and Views and presents them as one contiguous whole to whatever ListView it is poured into. This is good for cases where you have multiple data sources, or if you have a handful of ordinary Views to mix in with lists of data, or the like.
Simply create a
MergeAdapter and call addAdapter(), addView(), or addViews() (latter accepting a List
There is also
MergeSpinnerAdapter for use with Spinner widgets.
Renderers is an Android library created to avoid all the Adapter/ListView boilerplate needed to create a new adapter and all the spaghetti code that developers used to create following the
ViewHolder classic implementation.
This Android library offers you two main classes to extend and create your own rendering algorithms out of your adapter implementation.
Renderers is an easy way to work with android
Adapter classes. With this library you only have to create your renderers and declare the mapping between the object to render and the renderer.
An Android library to retrofit multiple item view types.
Groupie helps you display and manage complex RecyclerView layouts.
Android library designed to enrich and make your RecyclerView adapters more SOLID
Adapster will help you make your RecyclerView adapters more manageable and overall enrich your RecyclerView experience.
An adapter to create Android
RecyclerViews with sections, providing headers and footers.
The RecyclerView is one of the most used widgets in the Android world, and with it you have to implement an Adapter which provides the items for the view. Most use cases require the same base logic, but require you to write everything again and again.
The FastAdapter is here to simplify this process. You don't have to worry about the adapter anymore. Just write the logic for how your view should look like, and you are done.
Sick of writing ViewHolder classes, inflate xml and distinguish ViewTypes in your adapters?
Write less code with AnnotatedAdapter, an annotation processor for generating RecyclerView and AbsListView adapters.
Easiest way to declare RecyclerView Adapters in Android with Kotlin! No more boilerplate code.
A small and yet powerful library, which greatly simplifies building lists of different items.
The idea of this library is to build your adapters by composing reusable components.
The code brings up an easy way of using recyclerView, with the new recycler adapters. It also contains a
BaseRecyclerFragment and a
RecyclerStandalone that removes a lot of boiler plate for fragments that contains either grids or lists. It also offers out of the box a
DividerItemDecoration that handles the drawing of the divider in the recycler view. As well selectors for the items in your lists are handled.
Simple Adapter used to create simple
RecyclerView adapter without creating new java file.
aaaah - Another Android Adapter Abstraction Here. Quick and simple approach to creating Adapters for Android.
Gencycler is the fastest way to write
Easiest way to use
RecyclerView. Reduce boilerplate code! You don't need to write adapters for listing pages anymore!
Saves and restores
View states in
Composable adapters for Android
PersistentRecyclerAdapter is a simple, lite weight android library that persists data across fragment and activity recreation.
android-parallax-recyclerview is an adapter which could be used to achive a parallax effect on RecyclerView.
This library lets you to split
RecyclerView into sections, make paging, or create endless view easily.
Adapter that is similar to the ObjectAdapter (ArrayObjectAdapter) from the Leanback support library.
Assembly Adapter library allows to simplify working with adapters.
Decouple the item(/nested viewholder) from recyclerview's adapter.