DividerRow


public class DividerRow extends Row


Used to represent divider in HeadersFragment.

Summary

Public constructors

Public methods

final boolean

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

Inherited methods

From androidx.leanback.widget.Row
final HeaderItem

Returns the HeaderItem that represents metadata for the row.

final long

Returns a unique identifier for this row.

final void

Sets the HeaderItem that represents metadata for the row.

final void
setId(long id)

Sets the id for this row.

Public constructors

DividerRow

Added in 1.1.0
public DividerRow()

Public methods

isRenderedAsRowView

Added in 1.2.0-alpha04
public final boolean isRenderedAsRowView()

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.