Epoxy Adapter
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).Functions
bindViewHolder
Link copied to clipboard
createViewHolder
Link copied to clipboard
getItemCount
Link copied to clipboard
getItemViewType
Link copied to clipboard
getSpanCount
Link copied to clipboard
getSpanSizeLookup
Link copied to clipboard
hasObservers
Link copied to clipboard
hasStableIds
Link copied to clipboard
isMultiSpan
Link copied to clipboard
isStickyHeader
Link copied to clipboard
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
Content copied to clipboard
notifyItemChanged
Link copied to clipboard
notifyItemInserted
Link copied to clipboard
notifyItemMoved
Link copied to clipboard
notifyItemRangeChanged
Link copied to clipboard
notifyItemRangeInserted
Link copied to clipboard
notifyItemRangeRemoved
Link copied to clipboard
notifyItemRemoved
Link copied to clipboard
onAttachedToRecyclerView
Link copied to clipboard
onBindViewHolder
Link copied to clipboard
open fun onBindViewHolder(holder: EpoxyViewHolder, position: Int, payloads: List<Any>)
Content copied to clipboard
onCreateViewHolder
Link copied to clipboard
open fun onCreateViewHolder(parent: ViewGroup, viewType: Int): EpoxyViewHolder
Content copied to clipboard
onDetachedFromRecyclerView
Link copied to clipboard
@CallSuper()
Content copied to clipboard
onFailedToRecycleView
Link copied to clipboard
@CallSuper()
Content copied to clipboard
onRestoreInstanceState
Link copied to clipboard
onSaveInstanceState
Link copied to clipboard
onViewAttachedToWindow
Link copied to clipboard
onViewDetachedFromWindow
Link copied to clipboard
onViewRecycled
Link copied to clipboard
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(observer: RecyclerView.AdapterDataObserver)
Content copied to clipboard
setHasStableIds
Link copied to clipboard
setSpanCount
Link copied to clipboard
setupStickyHeaderView
Link copied to clipboard
teardownStickyHeaderView
Link copied to clipboard
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(observer: RecyclerView.AdapterDataObserver)
Content copied to clipboard
Inheritors
SimpleEpoxyAdapter
Link copied to clipboard