Package 

Interface EpoxyController.Interceptor

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.