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

buildView

protected abstract fun buildView(@NonNull parent: ViewGroup): T

Overrides EpoxyModel.buildView

Create and return a new instance of a view for this model. If no layout params are set on the returned view then default layout params will be used.

Parameters

parent - ViewGroup: The parent ViewGroup that the returned view will be added to.