Únete a ⁠ #Android11: The Beta Launch Show el 3 de junio.

AdapterListener

open class AdapterListener
kotlin.Any
   ↳ androidx.leanback.widget.ItemBridgeAdapter.AdapterListener

Interface for listening to ViewHolder operations.

Summary

Public constructors

Interface for listening to ViewHolder operations.

Public methods

open Unit
onAddPresenter(presenter: Presenter!, type: Int)

open Unit

open Unit

open Unit
onBind(viewHolder: ItemBridgeAdapter.ViewHolder!, payloads: MutableList<Any?>!)

open Unit

open Unit

open Unit

Public constructors

<init>

AdapterListener()

Interface for listening to ViewHolder operations.

Public methods

onAddPresenter

open fun onAddPresenter(
    presenter: Presenter!,
    type: Int
): Unit

onAttachedToWindow

open fun onAttachedToWindow(viewHolder: ItemBridgeAdapter.ViewHolder!): Unit

onBind

open fun onBind(viewHolder: ItemBridgeAdapter.ViewHolder!): Unit

onBind

open fun onBind(
    viewHolder: ItemBridgeAdapter.ViewHolder!,
    payloads: MutableList<Any?>!
): Unit

onCreate

open fun onCreate(viewHolder: ItemBridgeAdapter.ViewHolder!): Unit

onDetachedFromWindow

open fun onDetachedFromWindow(viewHolder: ItemBridgeAdapter.ViewHolder!): Unit

onUnbind

open fun onUnbind(viewHolder: ItemBridgeAdapter.ViewHolder!): Unit