SectionedItemList
@CarProtocol
class SectionedItemList
Represents an ItemList that is contained inside a section.
Summary
Public functions |
|
|---|---|
java-static SectionedItemList |
create(itemList: ItemList, sectionHeader: CharSequence)Creates an instance of a |
Boolean |
|
CarText |
Returns the title of the section. |
ItemList |
Returns the |
Int |
hashCode() |
String |
toString() |
Public functions
create
Added in 1.0.0
java-static fun create(itemList: ItemList, sectionHeader: CharSequence): SectionedItemList
Creates an instance of a SectionedItemList with the given itemList and sectionHeader.
Only DistanceSpans and DurationSpans are supported in the section header.
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
if |