Android APIs
public class

ItemBridgeAdapter.ViewHolder

extends RecyclerView.ViewHolder
java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.ViewHolder
     ↳ android.support.v17.leanback.widget.ItemBridgeAdapter.ViewHolder

Summary

[Expand]
Inherited Fields
From class android.support.v7.widget.RecyclerView.ViewHolder
Public Methods
final Object getExtraObject()
Get extra object associated with the view.
final Object getItem()
Get currently bound object.
final Presenter getPresenter()
Get Presenter.
final Presenter.ViewHolder getViewHolder()
void setExtraObject(Object object)
Set extra object associated with the view.
[Expand]
Inherited Methods
From class android.support.v7.widget.RecyclerView.ViewHolder
From class java.lang.Object

Public Methods

public final Object getExtraObject ()

Get extra object associated with the view. Developer can attach any customized UI object in addition to Presenter.ViewHolder. A typical use case is attaching an animator object.

public final Object getItem ()

Get currently bound object.

public final Presenter getPresenter ()

Get Presenter.

public final Presenter.ViewHolder getViewHolder ()

public void setExtraObject (Object object)

Set extra object associated with the view. Developer can attach any customized UI object in addition to Presenter.ViewHolder. A typical use case is attaching an animator object.