showModels

open fun showModels(models: Array<EpoxyModel<out Any>>)
open fun showModels(epoxyModels: Iterable<EpoxyModel<out Any>>)

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

Parameters

models

The models to show. They should already be added to the models list.

open fun showModels(show: Boolean, models: Array<EpoxyModel<out Any>>)
open fun showModels(epoxyModels: Iterable<EpoxyModel<out Any>>, show: Boolean)

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

Parameters

models

The models to show. They should already be added to the models list.

show

True to show the models, false to hide them.