<div class='sourceset sourceset-common'>Common</div>

```kotlin
fun interface PinnedHandle
```

This is an object returned by `pin` which allows to release the pinning.

## Functions

<h2 id="release">release</h2>

```kotlin
fun release()
```

Releases the pin.

For example, if this [PinnableContainer](/jetpack-compose/androidx.compose.ui/ui/interfaces/PinnableContainer) is an item of lazy list releasing the pinning
will allow lazy list to stop composing the item when it is not visible.