Most visited

Recently visited

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

SectionRow (HeaderItem headerItem)

Parameters
headerItem HeaderItem

SectionRow

SectionRow (long id, 
                String name)

Parameters
id long
name String

SectionRow

SectionRow (String name)

Parameters
name String

Public methods

isRenderedAsRowView

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.

Hooray!