java.lang.Object | |
↳ | android.support.v17.leanback.widget.Row |
Known Direct Subclasses |
A row in a RowsFragment. This is the base class for all rows.
You will typically use a ListRow
, but you may override this class
for non-list Rows.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for a Row.
| |||||||||||
Constructor for a Row.
| |||||||||||
Constructor for a Row.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the
HeaderItem that represents metadata for the row.
| |||||||||||
Returns a unique identifier for this row.
| |||||||||||
Set the
HeaderItem that represents metadata for the row.
| |||||||||||
Set the id for this row.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor for a Row.
id | The id of the row. |
---|---|
headerItem | The HeaderItem for this Row, or null if there
is no header.
|
Constructor for a Row.
headerItem | The HeaderItem for this Row, or null if there
is no header.
|
---|
Constructor for a Row.
Get the HeaderItem
that represents metadata for the row.
Returns a unique identifier for this row. This id can come from one of three places:
setId(long)
is ever called on this row, it will return
this id.
setId(long)
has not been called but the header item is
not null, the result of getId()
is returned.
NO_ID
is returned.
Set the HeaderItem
that represents metadata for the row.
headerItem | The HeaderItem for this Row, or null if there is no header. |
---|
Set the id for this row.
id | The id of the row. |
---|