epoxy-adapter / com.airbnb.epoxy / EpoxyController / addInterceptor

addInterceptor

open fun addInterceptor(@NonNull interceptor: EpoxyController.Interceptor): Unit

Add an interceptor callback to be run after models are built, to make any last changes before they are set on the adapter. Interceptors are run in the order they are added.

Interceptors are run on the same thread that models are built on.

See Also
Interceptor#intercept(List)