added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

ItemBridgeAdapter.AdapterListener

public static class ItemBridgeAdapter.AdapterListener
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.ItemBridgeAdapter.AdapterListener


Interface for listening to ViewHolder operations.

Summary

Public constructors

ItemBridgeAdapter.AdapterListener()

Public methods

void onAddPresenter(Presenter presenter, int type)
void onAttachedToWindow(ItemBridgeAdapter.ViewHolder viewHolder)
void onBind(ItemBridgeAdapter.ViewHolder viewHolder, List payloads)
void onBind(ItemBridgeAdapter.ViewHolder viewHolder)
void onCreate(ItemBridgeAdapter.ViewHolder viewHolder)
void onDetachedFromWindow(ItemBridgeAdapter.ViewHolder viewHolder)
void onUnbind(ItemBridgeAdapter.ViewHolder viewHolder)

Inherited methods

From class java.lang.Object

Public constructors

ItemBridgeAdapter.AdapterListener

added in version 22.1.0
ItemBridgeAdapter.AdapterListener ()

Public methods

onAddPresenter

added in version 22.1.0
void onAddPresenter (Presenter presenter, 
                int type)

Parameters
presenter Presenter

type int

onAttachedToWindow

added in version 22.1.0
void onAttachedToWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onBind

added in version 27.1.0
void onBind (ItemBridgeAdapter.ViewHolder viewHolder, 
                List payloads)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

payloads List

onBind

added in version 22.1.0
void onBind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onCreate

added in version 22.1.0
void onCreate (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onDetachedFromWindow

added in version 22.1.0
void onDetachedFromWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onUnbind

added in version 22.1.0
void onUnbind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder