CondensedSection


@RequiresCarApi(value = 9)
@ExperimentalCarApi
@CarProtocol
class CondensedSection : Section


A Section within the SectionedItemTemplate that contains CondensedItems.

Summary

Constants

const Int

The last row will be shown as-is.

const Int

Truncates the last row if that row is not completely filled

Public functions

Boolean
equals(other: Any?)
Int

Returns the strategy for handling incomplete last row

Int
String

Inherited functions

From androidx.car.app.model.Section
CarText?

Returns the optional message that should appear if there are no items added to this section.

OnItemVisibilityChangedDelegate?

Returns the OnItemVisibilityChangedDelegate to be called when the visible items in this Section changes, or null if one isn't set.

SectionHeader?

Returns the SectionHeader for this section, or null if not set.

CarText?

Returns the optional text that should appear with the items in this section.

Constants

INCOMPLETE_LAST_ROW_AS_IS

Added in 1.9.0-alpha02
const val INCOMPLETE_LAST_ROW_AS_IS = 0: Int

The last row will be shown as-is. This is a default behavior

INCOMPLETE_LAST_ROW_TRUNCATE

Added in 1.9.0-alpha02
const val INCOMPLETE_LAST_ROW_TRUNCATE = 1: Int

Truncates the last row if that row is not completely filled

Public functions

equals

fun equals(other: Any?): Boolean

getIncompleteLastRowStrategy

Added in 1.9.0-alpha02
fun getIncompleteLastRowStrategy(): Int

Returns the strategy for handling incomplete last row

hashCode

fun hashCode(): Int

toString

fun toString(): String