Register now for Android Dev Summit 2019!

DividerPresenter

open class DividerPresenter : Presenter
kotlin.Any
   ↳ androidx.leanback.widget.Presenter
   ↳ androidx.leanback.widget.DividerPresenter

DividerPresenter provides a default presentation for DividerRow in HeadersFragment.

Summary

Public constructors

Public methods

open Unit
onBindViewHolder(viewHolder: Presenter.ViewHolder!, item: Any!)

open Presenter.ViewHolder!

open Unit

Inherited functions

Public constructors

<init>

DividerPresenter()

Public methods

onBindViewHolder

open fun onBindViewHolder(viewHolder: Presenter.ViewHolder!, item: Any!): Unit

onCreateViewHolder

open fun onCreateViewHolder(parent: ViewGroup!): Presenter.ViewHolder!

onUnbindViewHolder

open fun onUnbindViewHolder(viewHolder: Presenter.ViewHolder!): Unit