-
public interface EpoxyController.InterceptorA callback that is run after buildModels completes and before diffing is run.
-
-
Method Summary
Modifier and Type Method Description abstract voidintercept(@NonNull() List<EpoxyModel<out Object>> models)This is called immediately after buildModels and before diffing is run and themodels are set on the adapter. -
-
Method Detail
-
intercept
abstract void intercept(@NonNull() List<EpoxyModel<out Object>> models)
This is called immediately after buildModels and before diffing is run and themodels are set on the adapter. This is a final chance to make any changes to the the modelsadded in buildModels. This may be useful for actions that act on all models inaggregate, such as toggling divider settings, or for cases such as rearranging models for anexperiment.
The models list must not be changed after this method returns. Doing so will throw anexception.
-
-
-
-