Interface: ListItem
A list item that appears in a list template.
Hierarchy
-
ListItem
Table of contents
Properties
- accessoryImage
- action
- browsable
- detailText
- enabled
- id
- image
- images
- imgUrl
- imgUrls
- isPlaying
- playbackProgress
- showsDisclosureIndicator
- text
- toggle
Properties
accessoryImage
• Optional
accessoryImage: ImageSourcePropType
The image from file system displayed on the trailing edge of the list item cell. iOS
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:57 (opens in a new tab)
action
• Optional
action: Action
<"custom"
>
Adds an additional action to the end of the row. Android
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:80 (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
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:70 (opens in a new tab)
detailText
• Optional
detailText: string
Extra text displayed below the primary text in the list item cell.
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
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:63 (opens in a new tab)
id
• Optional
id: string
References the item by 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.
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:23 (opens in a new tab)
images
• Optional
images: ImageSourcePropType
[]
A list of images shown in the ListRowImageItem iOS
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:28 (opens in a new tab)
imgUrl
• Optional
imgUrl: null
Url for image displayed on the leading edge of the list item cell.
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:32 (opens in a new tab)
imgUrls
• Optional
imgUrls: string
[]
Url for image displayed on the leading edge of the list item cell. iOS
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:37 (opens in a new tab)
isPlaying
• Optional
isPlaying: boolean
Is Playing flag. iOS
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:47 (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
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:52 (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
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:42 (opens in a new tab)
text
• text: string
The primary text displayed in the list item cell.
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
Defined in
packages/react-native-carplay/src/interfaces/ListItem.ts:75 (opens in a new tab)