showModel

open fun showModel(model: EpoxyModel<out Any>, show: Boolean)

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

Parameters

model

The model to show. It should already be added to the models list.

show

True to show the model, false to hide it.

open fun showModel(model: EpoxyModel<out Any>)

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

Parameters

model

The model to show. It should already be added to the models list.