ListRow
public class ListRow extends Row
A Row composed of a optional HeaderItem, and an ObjectAdapter describing the items in the list.
Summary
Public constructors |
|---|
ListRow(ObjectAdapter adapter) |
ListRow(HeaderItem header, ObjectAdapter adapter) |
ListRow(long id, HeaderItem header, ObjectAdapter adapter) |
Public methods |
|
|---|---|
final ObjectAdapter |
Returns the |
CharSequence |
Returns content description for the ListRow. |
void |
setContentDescription(CharSequence contentDescription)Explicitly set content description for the ListRow, |
Inherited methods |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
Public methods
getAdapter
public final ObjectAdapter getAdapter()
Returns the ObjectAdapter that represents a list of objects.
getContentDescription
public CharSequence getContentDescription()
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
public void setContentDescription(CharSequence contentDescription)
Explicitly set content description for the ListRow, getContentDescription will ignore values from HeaderItem.
| Parameters | |
|---|---|
CharSequence contentDescription |
Content description sets on the ListRow. |