lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

belongs to Maven artifact androidx.leanback:leanback:1.0.0-alpha3

ItemBridgeAdapter.AdapterListener

public static class ItemBridgeAdapter.AdapterListener
extends Object

java.lang.Object
   ↳ androidx.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

Public constructors

ItemBridgeAdapter.AdapterListener

public ItemBridgeAdapter.AdapterListener ()

Public methods

onAddPresenter

public void onAddPresenter (Presenter presenter, 
                int type)

Parameters
presenter Presenter

type int

onAttachedToWindow

public void onAttachedToWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onBind

public void onBind (ItemBridgeAdapter.ViewHolder viewHolder, 
                List payloads)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

payloads List

onBind

public void onBind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onCreate

public void onCreate (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onDetachedFromWindow

public void onDetachedFromWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onUnbind

public void onUnbind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder