java.lang.Object | |||
↳ | greendroid.widget.item.Item | ||
↳ | greendroid.widget.item.TextItem | ||
↳ | greendroid.widget.item.SubtitleItem |
Known Direct Subclasses |
An Item
that contains two Strings : a text and a subtitle. The
representation of this Item
is a view containing two lines of text.
If you want to be sure, the subtitle can occupy more than a single line,
please use a SubtextItem
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
subtitle | The subtitle of this item |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
greendroid.widget.item.TextItem
| |||||||||||
From class
greendroid.widget.item.Item
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new SubtitleItem with the specified text and subtitle.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Inflate this Item from an XML resource.
| |||||||||||
Return a view that is associated to the current item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
greendroid.widget.item.TextItem
| |||||||||||
From class
greendroid.widget.item.Item
| |||||||||||
From class
java.lang.Object
|
Construct a new SubtitleItem with the specified text and subtitle.
text | The text for this item |
---|---|
subtitle | The item's subtitle |
Inflate this Item from an XML resource.
Return a view that is associated to the current item. The returned view is normally capable of being a good recipient for all item's information.
context | The Context in which the ItemView will be used |
---|---|
parent | The parent View of that new View. The parent is usually the parent ListView and may be used to retrieve the correct LayoutParams type. |