lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

SectionRow

public class SectionRow
extends Row

java.lang.Object
   ↳ android.support.v17.leanback.widget.Row
     ↳ android.support.v17.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

From class android.support.v17.leanback.widget.Row
From class java.lang.Object

Public constructors

SectionRow

added in version 24.1.0
SectionRow (HeaderItem headerItem)

Parameters
headerItem HeaderItem

SectionRow

added in version 24.1.0
SectionRow (long id, 
                String name)

Parameters
id long

name String

SectionRow

added in version 24.1.0
SectionRow (String name)

Parameters
name String

Public methods

isRenderedAsRowView

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