open class SimpleEpoxyAdapter : EpoxyAdapter
A non-abstract version of com.airbnb.epoxy.EpoxyAdapter that exposes all methods and models as public. Use this if you don't want to create your own adapter subclass and instead want to modify the adapter from elsewhere, such as from an activity.
SimpleEpoxyAdapter()
A non-abstract version of |
val models: MutableList<EpoxyModel<*>!>!
Subclasses should modify this list as necessary with the models they want to show. Subclasses are responsible for notifying data changes whenever this list is changed. |
open fun addModels(vararg modelsToAdd: EpoxyModel<*>!): Unitopen fun addModels(modelsToAdd: MutableCollection<out EpoxyModel<*>!>!): Unit |
|
open fun enableDiffing(): Unit |
|
open fun getAllModelsAfter(model: EpoxyModel<*>!): MutableList<EpoxyModel<*>!>! |
|
open fun getBoundViewHolders(): BoundViewHolders! |
|
open fun getModelPosition(model: EpoxyModel<*>!): Int |
|
open fun getModels(): MutableList<EpoxyModel<*>!>! |
|
open fun hideAllAfterModel(model: EpoxyModel<*>!): Unit |
|
open fun hideModel(model: EpoxyModel<*>!): Unit |
|
open fun hideModels(epoxyModels: MutableIterable<EpoxyModel<*>!>!): Unitopen fun hideModels(vararg models: EpoxyModel<*>!): Unit |
|
open fun insertModelAfter(modelToInsert: EpoxyModel<*>!, modelToInsertAfter: EpoxyModel<*>!): Unit |
|
open fun insertModelBefore(modelToInsert: EpoxyModel<*>!, modelToInsertBefore: EpoxyModel<*>!): Unit |
|
open fun notifyModelChanged(model: EpoxyModel<*>!): Unit |
|
open fun notifyModelsChanged(): Unit |
|
open fun removeAllAfterModel(model: EpoxyModel<*>!): Unit |
|
open fun removeAllModels(): Unit |
|
open fun removeModel(model: EpoxyModel<*>!): Unit |
|
open fun showModel(model: EpoxyModel<*>!, show: Boolean): Unitopen fun showModel(model: EpoxyModel<*>!): Unit |
|
open fun showModels(vararg models: EpoxyModel<*>!): Unitopen fun showModels(show: Boolean, vararg models: EpoxyModel<*>!): Unitopen fun showModels(epoxyModels: MutableIterable<EpoxyModel<*>!>!): Unitopen fun showModels(epoxyModels: MutableIterable<EpoxyModel<*>!>!, show: Boolean): Unit |
open fun addModel(modelToAdd: EpoxyModel<*>!): Unit
Adds the model to the end of the |
|
open fun notifyModelChanged(model: EpoxyModel<*>!, payload: Any?): Unit
Notify that the given model has had its data changed. It should only be called if the model retained the same position. |