HeaderItempublic class HeaderItem extends Object A header item is an item that describes metadata of {@link Row}, such as a category
of media items. Developer may override this class to add more information. |
Fields Summary |
---|
private final long | mId | private final String | mName |
Constructors Summary |
---|
public HeaderItem(long id, String name)Create a header item. All fields are optional.
mId = id;
mName = name;
| public HeaderItem(String name)Create a header item.
this(NO_ID, name);
|
Methods Summary |
---|
public final long | getId()Returns a unique identifier for this item.
return mId;
| public final java.lang.String | getName()Returns the name of this header item.
return mName;
|
|