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


用于表示HeadersFragment中的节项。 与普通的Row不同,它不可聚焦。

Summary

Public constructors

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

Public methods

final boolean isRenderedAsRowView()

如果此Row可以在可见行视图中呈现,则返回true,否则返回false。

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 ()

如果此Row可以在可见行视图中呈现,则返回true,否则返回false。 例如ListRowListRowPresenter呈现。 PageRowSectionRowDividerRow呈现为不可见的行的意见。

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

Hooray!