removeAllAfterModel

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

Removes all models after the given model, which must have already been added. An example usecase is you want to keep a header but clear everything else, like in the case of refreshingdata.