java.lang.Object | |
↳ | android.support.v17.leanback.widget.Row |
Known Direct Subclasses |
The base class for all rows. A commonly used subclass is the ListRow
. Custom
subclasses may define other types of rows.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for a Row.
| |||||||||||
Constructor for a Row.
| |||||||||||
Constructor for a Row.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
HeaderItem that represents metadata for the row.
| |||||||||||
Returns a unique identifier for this row.
| |||||||||||
Sets the
HeaderItem that represents metadata for the row.
| |||||||||||
Sets 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.
Returns 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.
Sets the HeaderItem
that represents metadata for the row.
headerItem | The HeaderItem for this Row, or null if there is no header. |
---|
Sets the id for this row.
id | The id of the row. |
---|