CondensedItem.Builder


class CondensedItem.Builder


A builder for CondensedItem.

Summary

Public constructors

Creates a new builder.

Public functions

CondensedItem

Builds the CondensedItem.

CondensedItem.Builder
setLeadingImage(leadingImage: CarIcon)

Sets the leading image of the item.

CondensedItem.Builder

Sets the text of the item.

CondensedItem.Builder

Sets the title of the item.

Public constructors

Builder

Added in 1.8.0-beta01
Builder()

Creates a new builder.

Public functions

build

Added in 1.8.0-beta01
fun build(): CondensedItem

Builds the CondensedItem.

setLeadingImage

Added in 1.8.0-beta01
fun setLeadingImage(leadingImage: CarIcon): CondensedItem.Builder

Sets the leading image of the item.

setText

Added in 1.8.0-beta01
fun setText(text: CharSequence): CondensedItem.Builder

Sets the text of the item.

setTitle

Added in 1.8.0-beta01
fun setTitle(title: CharSequence): CondensedItem.Builder

Sets the title of the item.