DividerRow


class DividerRow : Row


Used to represent divider in HeadersFragment.

Summary

Public constructors

Public functions

Boolean

Returns true if this Row can be rendered in a visible row view, false otherwise.

Inherited functions

From androidx.leanback.widget.Row
HeaderItem!

Returns the HeaderItem that represents metadata for the row.

Long

Returns a unique identifier for this row.

Unit
setHeaderItem(headerItem: HeaderItem!)

Sets the HeaderItem that represents metadata for the row.

Unit
setId(id: Long)

Sets the id for this row.

Public constructors

DividerRow

Added in 1.1.0
DividerRow()

Public functions

isRenderedAsRowView

Added in 1.2.0-alpha04
fun isRenderedAsRowView(): Boolean

Returns true if this Row can be rendered in a visible row view, false otherwise. For example ListRow is rendered by ListRowPresenter. PageRow, SectionRow, DividerRow are rendered as invisible row views.

Returns
Boolean

True if this Row can be rendered in a visible row view, false otherwise.