SectionedItemList
public
final
class
SectionedItemList
extends Object
java.lang.Object
|
↳ |
androidx.car.app.model.SectionedItemList
|
Represents an ItemList
that is contained inside a section, for internal use only.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public methods
create
public static SectionedItemList create (ItemList itemList,
CharSequence sectionHeader)
Creates an instance of a SectionedItemList
with the given itemList
and
sectionHeader
.
Parameters |
itemList |
ItemList |
sectionHeader |
CharSequence |
equals
public boolean equals (Object other)
public CarText getHeader ()
Returns the title of the section.
getItemList
public ItemList getItemList ()
Returns the ItemList
for the section.
hashCode
public int hashCode ()
toString
public String toString ()