Constructor and Description |
---|
HeaderItem(long id,
String name)
Create a header item.
|
HeaderItem(String name)
Create a header item.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
getContentDescription()
Returns optional content description for the HeaderItem.
|
long |
getId()
Returns a unique identifier for this item.
|
String |
getName()
Returns the name of this header item.
|
void |
setContentDescription(CharSequence contentDescription)
Sets optional content description for the HeaderItem.
|
public HeaderItem(long id, String name)
public HeaderItem(String name)
public final long getId()
public final String getName()
public CharSequence getContentDescription()
getName()
should be used for the content description.public void setContentDescription(CharSequence contentDescription)
contentDescription
- Content description sets on the HeaderItem.