---
title: "ListItemShape"
description: "Represents the [Shape] of ListItem in different interaction states."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
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

| | |
| --- | --- |
| shape | the shape used when the ListItem is enabled. |
| focusedShape | the shape used when the ListItem is enabled and focused. |
| pressedShape | the shape used when the ListItem is enabled and pressed. |
| selectedShape | the shape used when the ListItem is enabled and selected. |
| disabledShape | the shape used when the ListItem is not enabled. |
| focusedSelectedShape | the shape used when the ListItem is enabled, focused and selected. |
| focusedDisabledShape | the shape used when the ListItem is not enabled and focused. |
| pressedSelectedShape | the shape used when the ListItem is enabled, pressed and selected. |




