ItemList

public final class ItemList
extends Object

java.lang.Object
   ↳ com.google.android.libraries.car.app.model.ItemList


Represents a list of Item instances. ItemList instances are used by templates that contain lists of models, such as for example, the list of Rows in a ListTemplate.

Summary

Nested classes

class ItemList.Builder

A builder of ItemList

interface ItemList.OnItemVisibilityChangedListener

A listener for handling item visibility changes. 

interface ItemList.OnSelectedListener

A listener for handling selection events for lists with selectable items. 

Public methods

static ItemList.Builder builder()

Constructs a new builder of ItemList.

boolean equals(Object other)
int hashCode()
String toString()

Inherited methods

Public methods

builder

public static ItemList.Builder builder ()

Constructs a new builder of ItemList.

Returns
ItemList.Builder

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int

toString

public String toString ()

Returns
String