ListItemShape

Class

Android
class ListItemShape
constructor(
    val shape: Shape,
    val focusedShape: Shape,
    val pressedShape: Shape,
    val selectedShape: Shape,
    val disabledShape: Shape,
    val focusedSelectedShape: Shape,
    val focusedDisabledShape: Shape,
    val pressedSelectedShape: Shape
)

Represents the Shape of ListItem in different interaction states.

Parameters

shapethe shape used when the ListItem is enabled.
focusedShapethe shape used when the ListItem is enabled and focused.
pressedShapethe shape used when the ListItem is enabled and pressed.
selectedShapethe shape used when the ListItem is enabled and selected.
disabledShapethe shape used when the ListItem is not enabled.
focusedSelectedShapethe shape used when the ListItem is enabled, focused and selected.
focusedDisabledShapethe shape used when the ListItem is not enabled and focused.
pressedSelectedShapethe shape used when the ListItem is enabled, pressed and selected.