TypeScript API
Listitemupdate

Interface: ListItemUpdate

A list item update payload.

Hierarchy

Table of contents

Properties

Properties

accessoryImage

Optional accessoryImage: ImageSourcePropType

The image from file system displayed on the trailing edge of the list item cell. iOS

Inherited from

ListItem.accessoryImage

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:47 (opens in a new tab)


action

Optional action: Action<"custom">

Adds an additional action to the end of the row. Android

Inherited from

ListItem.action

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:70 (opens in a new tab)


browsable

Optional browsable: boolean

Shows an icon at the end of the row that indicates that the row is browsable. Browsable rows can be used, for example, to represent the parent row in a hierarchy of lists with child lists. If a row is browsable, then no Action or Toggle can be added to it. Android

Inherited from

ListItem.browsable

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:60 (opens in a new tab)


detailText

Optional detailText: string

Extra text displayed below the primary text in the list item cell.

Inherited from

ListItem.detailText

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:19 (opens in a new tab)


enabled

Optional enabled: boolean

Sets the initial enabled state for Row.

Default

true
@namespace Android

Inherited from

ListItem.enabled

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:53 (opens in a new tab)


id

Optional id: string

References the item by id

Inherited from

ListItem.id

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:11 (opens in a new tab)


image

Optional image: ImageSourcePropType

Image from file system displayed on the leading edge of the list item cell.

Inherited from

ListItem.image

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:23 (opens in a new tab)


imgUrl

Optional imgUrl: null

Url for image displayed on the leading edge of the list item cell.

Inherited from

ListItem.imgUrl

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:27 (opens in a new tab)


isPlaying

Optional isPlaying: boolean

Is Playing flag. iOS

Inherited from

ListItem.isPlaying

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:37 (opens in a new tab)


itemIndex

itemIndex: number

The index of item.

Defined in

packages/react-native-carplay/src/interfaces/ListItemUpdate.ts:13 (opens in a new tab)


playbackProgress

Optional playbackProgress: number

  • Value between 0.0 and 1.0 for progress bar of the list item cell. iOS

Inherited from

ListItem.playbackProgress

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:42 (opens in a new tab)


sectionIndex

sectionIndex: number

The section of item.

Defined in

packages/react-native-carplay/src/interfaces/ListItemUpdate.ts:9 (opens in a new tab)


showsDisclosureIndicator

Optional showsDisclosureIndicator: boolean

A Boolean value indicating whether the list item cell shows a disclosure indicator on the trailing edge of the list item cell. iOS

Inherited from

ListItem.showsDisclosureIndicator

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:32 (opens in a new tab)


text

text: string

The primary text displayed in the list item cell.

Inherited from

ListItem.text

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:15 (opens in a new tab)


toggle

Optional toggle: number

If a row has a toggle set, then no Action or numeric decoration can be set. Android

Inherited from

ListItem.toggle

Defined in

packages/react-native-carplay/src/interfaces/ListItem.ts:65 (opens in a new tab)