-
- All Implemented Interfaces:
-
com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks
public abstract class EpoxyAdapter extends BaseEpoxyAdapter
Allows you to easily combine different view types in the same adapter, and handles view holder creation, binding, and ids for you. Subclasses just need to add their desired EpoxyModel objects and the rest is done automatically.
setHasStableIds is set to true by default, since EpoxyModel makes it easy to support unique ids. If you don't want to support this then disable it in your base class (not recommended).
-
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class com.airbnb.epoxy.BaseEpoxyAdapter
getItemCount, getItemId, getItemViewType, getSpanCount, getSpanSizeLookup, isEmpty, isMultiSpan, isStickyHeader, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onRestoreInstanceState, onSaveInstanceState, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, setSpanCount, setupStickyHeaderView, teardownStickyHeaderView -
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, findRelativeAdapterPositionIn, getItemCount, getItemId, getItemViewType, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver -
Methods inherited from class com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks
isStickyHeader, setupStickyHeaderView, teardownStickyHeaderView -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-