| Class | Description |
|---|---|
| AbsDelegationAdapter<T> |
An implementation of an Adapter that already uses a
AdapterDelegatesManager and calls
the corresponding AdapterDelegatesManager methods from Adapter's method like AbsDelegationAdapter.onCreateViewHolder(ViewGroup, int), AbsDelegationAdapter.onBindViewHolder(RecyclerView.ViewHolder, int)
and AbsDelegationAdapter.getItemViewType(int). |
| AbsFallbackAdapterDelegate<T> |
This class can be used as base class for a fallback delegate
AdapterDelegatesManager.setFallbackDelegate(AdapterDelegate). |
| AbsListItemAdapterDelegate<I extends T,T,VH extends androidx.recyclerview.widget.RecyclerView.ViewHolder> |
A simplified
AdapterDelegate when the underlying adapter's dataset is a List. |
| AdapterDelegate<T> |
This delegate provide method to hook in this delegate to
RecyclerView.Adapter lifecycle. |
| AdapterDelegatesManager<T> |
This class is the element that ties
RecyclerView.Adapter together with AdapterDelegate. |
| AsyncListDifferDelegationAdapter<T> |
An implementation of an Adapter that already uses a
AdapterDelegatesManager pretty same as
AbsDelegationAdapter but also uses AsyncListDiffer from support library 27.0.1 for
calculating diffs between old and new collections of items and does this on background thread. |
| ListDelegationAdapter<T extends java.util.List<?>> |
An adapter implementation designed for items organized in a
List. |