added in version 22.1.0
belongs to Maven artifact


public abstract class AbstractDetailsDescriptionPresenter
extends Presenter


An abstract Presenter for rendering a detailed description of an item. Typically this Presenter will be used in a DetailsOverviewRowPresenter or PlaybackControlsRowPresenter.

Subclasses must override onBindDescription(AbstractDetailsDescriptionPresenter.ViewHolder, Object) to implement the data binding for this Presenter.


Nested classes

class AbstractDetailsDescriptionPresenter.ViewHolder

The ViewHolder for the AbstractDetailsDescriptionPresenter

Public constructors


Public methods

final void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item)

Binds a View to an item.

final AbstractDetailsDescriptionPresenter.ViewHolder onCreateViewHolder(ViewGroup parent)

Creates a new View.

void onUnbindViewHolder(Presenter.ViewHolder viewHolder)

Unbinds a View from an item.

void onViewAttachedToWindow(Presenter.ViewHolder holder)

Called when a view created by this presenter has been attached to a window.

void onViewDetachedFromWindow(Presenter.ViewHolder holder)

Called when a view created by this presenter has been detached from its window.

Protected methods

abstract void onBindDescription(AbstractDetailsDescriptionPresenter.ViewHolder vh, Object item)

Binds the data from the item to the ViewHolder.

Inherited methods

From class