CondensedSection.Builder


@RequiresCarApi(value = 9)
@ExperimentalCarApi
class CondensedSection.Builder : Section.BaseBuilder


A builder for CondensedSection.

Summary

Public constructors

Create a new CondensedSection builder.

Public functions

CondensedSection

Constructs a CondensedSection from the current state of this builder.

Inherited functions

From androidx.car.app.model.Section.BaseBuilder
B

Adds an item to this section, appending to the existing list of items.

B

Delete all items in this section.

B

Sets the items for this section, overwriting any other previously set items.

B

Sets or clears the optional message to display in this section when there are 0 items added to it.

B

Sets or clears the optional message to display in this section when there are 0 items added to it.

B

Sets the OnItemVisibilityChangedListener to call when the visible items in this Section changes.

B

Sets the SectionHeader for this section.

B

Sets or clears the optional title that appears above the items in this section.

B

Sets or clears the optional title that appears above the items in this section.

Public constructors

Builder

Added in 1.8.0
Builder()

Create a new CondensedSection builder.

Public functions

build

Added in 1.8.0
fun build(): CondensedSection

Constructs a CondensedSection from the current state of this builder.