SectionedItemTemplate


@CarProtocol
@ExperimentalCarApi
class SectionedItemTemplate : Template


A template that contains sections of items like rows, grid items, etc.

Summary

Nested types

A builder that constructs SectionedItemTemplate instances.

Public functions

Boolean
equals(other: Any?)
(Mutable)List<Action!>

Returns the list of actions that should appear alongside the content of this template.

Header?

Returns the optional header for this template.

(Mutable)List<Section<Any!>!>

Returns the list of sections within this template.

Int
Boolean

Returns whether or not this template is in a loading state.

String

Public functions

equals

fun equals(other: Any?): Boolean

getActions

Added in 1.7.0-beta01
fun getActions(): (Mutable)List<Action!>

Returns the list of actions that should appear alongside the content of this template.

getHeader

Added in 1.7.0-beta01
fun getHeader(): Header?

Returns the optional header for this template.

getSections

Added in 1.7.0-beta01
fun getSections(): (Mutable)List<Section<Any!>!>

Returns the list of sections within this template.

hashCode

fun hashCode(): Int

isLoading

Added in 1.7.0-beta01
fun isLoading(): Boolean

Returns whether or not this template is in a loading state.

toString

fun toString(): String