epoxy-adapter / com.airbnb.epoxy / EpoxyAdapter / showModels

showModels

protected open fun showModels(vararg models: EpoxyModel<*>!): Unit

Shows the given models, and notifies that each item changed if the item wasn't already shown.

Parameters

models - EpoxyModel<*>!: The models to show. They should already be added to the #models list.

protected open fun showModels(show: Boolean, vararg models: EpoxyModel<*>!): Unit

Sets the visibility of the given models, and notifies that the items changed if the new visibility is different from the previous.

Parameters

models - EpoxyModel<*>!: The models to show. They should already be added to the #models list.

show - Boolean: True to show the models, false to hide them.

protected open fun showModels(models: MutableIterable<EpoxyModel<*>!>!): Unit

Shows the given models, and notifies that each item changed if the item wasn't already shown.

Parameters

models - MutableIterable<EpoxyModel<*>!>!: The models to show. They should already be added to the #models list.

protected open fun showModels(models: MutableIterable<EpoxyModel<*>!>!, show: Boolean): Unit

Sets the visibility of the given models, and notifies that the items changed if the new visibility is different from the previous.

Parameters

models - MutableIterable<EpoxyModel<*>!>!: The models to show. They should already be added to the #models list.

show - Boolean: True to show the models, false to hide them.