ListRow
class ListRow : Row
A Row composed of a optional HeaderItem, and an ObjectAdapter describing the items in the list.
Summary
Public constructors |
|---|
ListRow(adapter: ObjectAdapter!) |
ListRow(header: HeaderItem!, adapter: ObjectAdapter!) |
ListRow(id: Long, header: HeaderItem!, adapter: ObjectAdapter!) |
Public functions |
|
|---|---|
ObjectAdapter! |
Returns the |
CharSequence! |
Returns content description for the ListRow. |
Unit |
setContentDescription(contentDescription: CharSequence!)Explicitly set content description for the ListRow, |
Inherited functions |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
Public functions
getAdapter
fun getAdapter(): ObjectAdapter!
Returns the ObjectAdapter that represents a list of objects.
getContentDescription
fun getContentDescription(): CharSequence!
Returns content description for the ListRow. By default it returns getContentDescription or getName, unless setContentDescription was explicitly called.
| Returns | |
|---|---|
CharSequence! |
Content description for the ListRow. |
setContentDescription
fun setContentDescription(contentDescription: CharSequence!): Unit
Explicitly set content description for the ListRow, getContentDescription will ignore values from HeaderItem.
| Parameters | |
|---|---|
contentDescription: CharSequence! |
Content description sets on the ListRow. |