The Android Developer Challenge is back! Submit your idea before December 2.

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