epoxy-adapter / com.airbnb.epoxy / GeneratedModel

GeneratedModel

interface GeneratedModel<T : Any!>

Interface applied to generated models to allow the base adapter to interact with them.

Functions

handlePostBind

abstract fun handlePostBind(objectToBind: T, position: Int): Unit

Called on the generated model immediately after the main model onBind method has been called. This let's the generated model handle binding of its own and dispatch calls to its onBind listener.

handlePreBind

abstract fun handlePreBind(holder: EpoxyViewHolder!, objectToBind: T, position: Int): Unit

Called on the generated model immediately before the main model onBind method has been called. This let's the generated model handle binding setup of its own

Inheritors

CarouselModel_

open class CarouselModel_ : EpoxyModel<Carousel!>, GeneratedModel<Carousel!>, CarouselModelBuilder

Generated file. Do not modify!

GroupModel_

open class GroupModel_ : GroupModel, GeneratedModel<ModelGroupHolder!>, GroupModelBuilder

Generated file. Do not modify!