Most visited

Recently visited

ItemBridgeAdapter.AdapterListener

public static class ItemBridgeAdapter.AdapterListener
extends Object

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


监听ViewHolder操作的接口。

Summary

Public constructors

ItemBridgeAdapter.AdapterListener()

Public methods

void onAddPresenter(Presenter presenter, int type)
void onAttachedToWindow(ItemBridgeAdapter.ViewHolder viewHolder)
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

ItemBridgeAdapter.AdapterListener ()

Public methods

onAddPresenter

void onAddPresenter (Presenter presenter, 
                int type)

Parameters
presenter Presenter
type int

onAttachedToWindow

void onAttachedToWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onBind

void onBind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onCreate

void onCreate (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onDetachedFromWindow

void onDetachedFromWindow (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

onUnbind

void onUnbind (ItemBridgeAdapter.ViewHolder viewHolder)

Parameters
viewHolder ItemBridgeAdapter.ViewHolder

Hooray!