added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0-beta01

SectionRow

public class SectionRow
extends Row

java.lang.Object
   ↳ androidx.leanback.widget.Row
     ↳ androidx.leanback.widget.SectionRow


Used to represent section item in HeadersFragment. Unlike a normal Row, it's not focusable.

Summary

Public constructors

SectionRow(HeaderItem headerItem)
SectionRow(long id, String name)
SectionRow(String name)

Public methods

final boolean isRenderedAsRowView()

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

Inherited methods

Public constructors

SectionRow

added in version 1.0.0
public SectionRow (HeaderItem headerItem)

Parameters
headerItem HeaderItem

SectionRow

added in version 1.0.0
public SectionRow (long id, 
                String name)

Parameters
id long

name String

SectionRow

added in version 1.0.0
public SectionRow (String name)

Parameters
name String

Public methods

isRenderedAsRowView

added in version 1.0.0
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.