epoxy-adapter / com.airbnb.epoxy / EpoxyModelWithView / getViewType

getViewType

protected open fun getViewType(): Int

Overrides EpoxyModel.getViewType

Get the view type associated with this model's view. Any models with the same view type will have views recycled between them.

See Also
androidx.recyclerview.widget.RecyclerView.Adapter#getItemViewType(int)