ListViewItemImage

Leading content: Text, Icon, Image, PaymentLogo or Avatar All list view item sizes supports leading content. Please note that Leading image and Medium Payment logos are only supported in Medium and Large list view items. Small list view items also supports a small version of the payment logo container.

Inheritors

Types

Link copied to clipboard
data class Avatar(val variant: AvatarVariant, val style: AvatarStyle = AvatarStyle.Primary) : ListViewItemImage

Avatar is used to represent a leading visual avatar in the list view item.

Link copied to clipboard
data class Custom(val modifier: Modifier = Modifier, val alignment: Alignment.Vertical = Alignment.CenterVertically, val size: ListViewImageSize = ListViewImageSize.Small, val content: @Composable BoxScope.() -> Unit) : ListViewItemImage

Custom (Image) is used to represent a leading visual image in the list view item.

Link copied to clipboard
data class Icon(@DrawableRes val resource: Int, val contentDescription: String?, val alignment: Alignment.Vertical = Alignment.CenterVertically, val tint: Color? = null) : ListViewItemImage

Icon is used to represent a leading visual icon in the list view item.

Link copied to clipboard
data class ImageView(val painter: Painter, val contentDescription: String?, val alignment: Alignment.Vertical = Alignment.CenterVertically, val size: ListViewImageSize = ListViewImageSize.Small) : ListViewItemImage

ImageView is used to represent a leading visual image in the list view item.

Link copied to clipboard
data object None : ListViewItemImage

No leading visual element

Link copied to clipboard
data class PaymentLogo(val painter: Painter, val contentDescription: String?) : ListViewItemImage

PaymentLogo is used to represent a leading visual payment logo in the list view item.