Package com.airbnb.epoxy

Types

AsyncEpoxyController
Link copied to clipboard
abstract class AsyncEpoxyController : EpoxyController
A subclass of EpoxyController that makes it easy to do model building and diffing in the background.
BaseEpoxyAdapter
Link copied to clipboard
abstract class BaseEpoxyAdapter : RecyclerView.Adapter<EpoxyViewHolder> , StickyHeaderCallbacks
BoundViewHolders
Link copied to clipboard
open class BoundViewHolders : Iterable<EpoxyViewHolder>
Helper class for keeping track of EpoxyViewHolders that are currently bound.
Carousel
Link copied to clipboard
open class Carousel : EpoxyRecyclerView
This feature is in Beta - please report bugs, feature requests, or other feedback at https://github.com/airbnb/epoxy by creating a new issue.
ControllerHelper
Link copied to clipboard
abstract class ControllerHelper<T : EpoxyController?>
A helper class for EpoxyController to handle models.
DiffPayload
Link copied to clipboard
open class DiffPayload
A helper class for tracking changed models found by the com.airbnb.epoxy.DiffHelper to be included as a payload in the notifyItemChanged call.
DiffResult
Link copied to clipboard
open class DiffResult
Wraps the result of submitList.
EpoxyAdapter
Link copied to clipboard
abstract class EpoxyAdapter : BaseEpoxyAdapter
Allows you to easily combine different view types in the same adapter, and handles view holder creation, binding, and ids for you.
EpoxyAsyncUtil
Link copied to clipboard
class EpoxyAsyncUtil
Various helpers for running Epoxy operations off the main thread.
EpoxyController
Link copied to clipboard
abstract class EpoxyController : ModelCollector, StickyHeaderCallbacks
A controller for easily combining EpoxyModel instances in a RecyclerView.Adapter.
EpoxyControllerAdapter
Link copied to clipboard
class EpoxyControllerAdapter : BaseEpoxyAdapter, AsyncEpoxyDiffer.ResultCallback
EpoxyDiffLogger
Link copied to clipboard
open class EpoxyDiffLogger : RecyclerView.AdapterDataObserver
This data observer can be registered with an Epoxy adapter or controller to log all item change events.
EpoxyDragCallback
Link copied to clipboard
interface EpoxyDragCallback<T : EpoxyModel?> : BaseEpoxyTouchCallback<T>
EpoxyHolder
Link copied to clipboard
abstract class EpoxyHolder
Used in conjunction with com.airbnb.epoxy.EpoxyModelWithHolder to provide a view holder pattern when binding to a model.
EpoxyItemSpacingDecorator
Link copied to clipboard
open class EpoxyItemSpacingDecorator : RecyclerView.ItemDecoration
Modifies item spacing in a recycler view so that items are equally spaced no matter where they are on the grid.
EpoxyModel
Link copied to clipboard
abstract class EpoxyModel<T>
Helper to bind data to a view using a builder style.
EpoxyModelGroup
Link copied to clipboard
open class EpoxyModelGroup : EpoxyModelWithHolder<ModelGroupHolder>
An EpoxyModel that contains other models, and allows you to combine those models in whatever view configuration you want.
EpoxyModelTouchCallback
Link copied to clipboard
A wrapper around androidx.recyclerview.widget.ItemTouchHelper.Callback to enable easier touch support when working with Epoxy models.
EpoxyModelWithHolder
Link copied to clipboard
abstract class EpoxyModelWithHolder<T : EpoxyHolder?> : EpoxyModel<T>
A version of com.airbnb.epoxy.EpoxyModel that allows you to use a view holder pattern instead of a specific view when binding to your model.
EpoxyModelWithView
Link copied to clipboard
abstract class EpoxyModelWithView<T : View?> : EpoxyModel<T>
A model that allows its view to be built programmatically instead of by inflating a layout resource.
EpoxyRecyclerView
Link copied to clipboard
open class EpoxyRecyclerView @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : RecyclerView
A RecyclerView implementation that makes for easier integration with Epoxy.
EpoxySwipeCallback
Link copied to clipboard
interface EpoxySwipeCallback<T : EpoxyModel?> : BaseEpoxyTouchCallback<T>
EpoxyTouchHelper
Link copied to clipboard
abstract class EpoxyTouchHelper
A simple way to set up drag or swipe interactions with Epoxy.
EpoxyTouchHelperCallback
Link copied to clipboard
abstract class EpoxyTouchHelperCallback : ItemTouchHelper.Callback
A wrapper around androidx.recyclerview.widget.ItemTouchHelper.Callback to cast all view holders to com.airbnb.epoxy.EpoxyViewHolder for simpler use with Epoxy.
EpoxyViewHolder
Link copied to clipboard
open class EpoxyViewHolder : RecyclerView.ViewHolder
EpoxyVisibilityItem
Link copied to clipboard
class EpoxyVisibilityItem(adapterPosition: Int?)
This class represent an item in a android.view.ViewGroup and it is being reused with multiple model via the update method.
EpoxyVisibilityTracker
Link copied to clipboard
class EpoxyVisibilityTracker
A simple way to track visibility events on com.airbnb.epoxy.EpoxyModel.
GeneratedModel
Link copied to clipboard
interface GeneratedModel<T>
Interface applied to generated models to allow the base adapter to interact with them.
GroupModel
Link copied to clipboard
abstract class GroupModel : EpoxyModelGroup, ModelCollector
An EpoxyModelGroup usable in a DSL manner via the group extension.
IdUtils
Link copied to clipboard
class IdUtils
Utilities for generating 64-bit long IDs from types such as CharSequence.
IllegalEpoxyUsage
Link copied to clipboard
open class IllegalEpoxyUsage : RuntimeException
ListenersUtils
Link copied to clipboard
open class ListenersUtils
ModelCollector
Link copied to clipboard
interface ModelCollector
Interface used to collect models.
ModelGroupHolder
Link copied to clipboard
class ModelGroupHolder(modelGroupParent: ViewParent) : EpoxyHolder
OnModelBoundListener
Link copied to clipboard
interface OnModelBoundListener<T : EpoxyModel<out Any>?, V>
Used to register an onBind callback with a generated model.
OnModelBuildFinishedListener
Link copied to clipboard
interface OnModelBuildFinishedListener
Used with addModelBuildListener to be alerted to new model changes.
OnModelCheckedChangeListener
Link copied to clipboard
interface OnModelCheckedChangeListener<T : EpoxyModel<out Any>?, V>
OnModelClickListener
Link copied to clipboard
interface OnModelClickListener<T : EpoxyModel<out Any>?, V>
Used to register a click listener on a generated model.
OnModelLongClickListener
Link copied to clipboard
interface OnModelLongClickListener<T : EpoxyModel<out Any>?, V>
OnModelUnboundListener
Link copied to clipboard
interface OnModelUnboundListener<T : EpoxyModel<out Any>?, V>
Used to register an onUnbind callback with a generated model.
OnModelVisibilityChangedListener
Link copied to clipboard
interface OnModelVisibilityChangedListener<T : EpoxyModel<V>?, V>
Used to register an onVisibilityChanged callback with a generated model.
OnModelVisibilityStateChangedListener
Link copied to clipboard
interface OnModelVisibilityStateChangedListener<T : EpoxyModel<V>?, V>
Used to register an onVisibilityChanged callback with a generated model.
QuantityStringResAttribute
Link copied to clipboard
open class QuantityStringResAttribute
SimpleEpoxyAdapter
Link copied to clipboard
open class SimpleEpoxyAdapter : EpoxyAdapter
A non-abstract version of com.airbnb.epoxy.EpoxyAdapter that exposes all methods and models as public.
SimpleEpoxyController
Link copied to clipboard
open class SimpleEpoxyController : EpoxyController
A small wrapper around com.airbnb.epoxy.EpoxyController that lets you set a list of models directly.
SimpleEpoxyModel
Link copied to clipboard
open class SimpleEpoxyModel : EpoxyModel<View>
Helper class for cases where you don't need to do anything special when binding the view.
StringAttributeData
Link copied to clipboard
open class StringAttributeData
StyleBuilderCallback
Link copied to clipboard
interface StyleBuilderCallback<T>
Used for specifying dynamic styling for a view when creating a model.
Typed2EpoxyController
Link copied to clipboard
abstract class Typed2EpoxyController<T, U> : EpoxyController
This is a wrapper around com.airbnb.epoxy.EpoxyController to simplify how data is accessed.
Typed3EpoxyController
Link copied to clipboard
abstract class Typed3EpoxyController<T, U, V> : EpoxyController
This is a wrapper around com.airbnb.epoxy.EpoxyController to simplify how data is accessed.
Typed4EpoxyController
Link copied to clipboard
abstract class Typed4EpoxyController<T, U, V, W> : EpoxyController
This is a wrapper around com.airbnb.epoxy.EpoxyController to simplify how data is accessed.
TypedEpoxyController
Link copied to clipboard
abstract class TypedEpoxyController<T> : EpoxyController
This is a wrapper around com.airbnb.epoxy.EpoxyController to simplify how data is accessed.
VisibilityState
Link copied to clipboard
class VisibilityState
WrappedEpoxyModelCheckedChangeListener
Link copied to clipboard
Used in the generated models to transform normal checked change listener to model checked change.
WrappedEpoxyModelClickListener
Link copied to clipboard
Used in the generated models to transform normal view click listeners to model click listeners.