Pane.Builder

public static final class Pane.Builder
extends Object

java.lang.Object
   ↳ androidx.car.app.model.Pane.Builder


A builder of Pane.

Summary

Public constructors

Builder()

Returns an empty Pane.Builder instance.

Public methods

Pane.Builder addAction(Action action)

Adds an Action to display alongside the rows in the pane.

Pane.Builder addRow(Row row)

Adds a row to display in the list.

Pane build()

Constructs the row list defined by this builder.

Pane.Builder setImage(CarIcon image)

Sets an CarIcon to display alongside the rows in the pane.

Pane.Builder setLoading(boolean isLoading)

Sets whether the Pane is in a loading state.

Inherited methods

Public constructors

Builder

public Builder ()

Returns an empty Pane.Builder instance.

Pub