epoxy-adapter / com.airbnb.epoxy / ModelGroupHolder

ModelGroupHolder

class ModelGroupHolder : EpoxyHolder

Constructors

<init>

ModelGroupHolder(modelGroupParent: ViewParent)

Properties

rootView

lateinit var rootView: ViewGroup

Get the root view group (aka androidx.recyclerview.widget.RecyclerView.ViewHolder.itemView. You can override EpoxyModelGroup.bind and use this method to make custom changes to the root view.

viewHolders

val viewHolders: ArrayList<EpoxyViewHolder>

viewPool

val viewPool: RecycledViewPool

Use parent pool or create a local pool

Functions

bindGroupIfNeeded

fun bindGroupIfNeeded(group: EpoxyModelGroup): Unit

bindView

fun bindView(itemView: View): Unit

unbindGroup

fun unbindGroup(): Unit