ImageView

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

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

Constructors

Link copied to clipboard
constructor(painter: Painter, contentDescription: String?, alignment: Alignment.Vertical = Alignment.CenterVertically, size: ListViewImageSize = ListViewImageSize.Small)

Properties

Link copied to clipboard

The alignment of the image.

Link copied to clipboard

The content description of the image.

Link copied to clipboard

The painter to be displayed.

Link copied to clipboard