# TransformingLazyColumnItemScrollProgress

Artifact: [androidx.wear.compose:compose-foundation](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/foundation/lazy/TransformingLazyColumnLayoutInfo.kt+class:androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScrollProgress) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)

<br />

```
value class TransformingLazyColumnItemScrollProgress
```

<br />

*** ** * ** ***

Scroll progress of an item in a `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumn.composable#TransformingLazyColumn(androidx.compose.ui.Modifier,androidx.wear.compose.foundation.lazy.TransformingLazyColumnState,androidx.compose.foundation.layout.PaddingValues,kotlin.Boolean,androidx.compose.foundation.layout.Arrangement.Vertical,androidx.compose.ui.Alignment.Horizontal,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean,androidx.wear.compose.foundation.rotary.RotaryScrollableBehavior,androidx.compose.foundation.OverscrollEffect,androidx.wear.compose.foundation.lazy.TransformingLazyColumnFirstLayoutItemProvider,kotlin.Function1)` before any modifications to the item's height are applied (using `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScope#(androidx.compose.ui.Modifier).transformedHeight(kotlin.Function2)` modifier).

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()` Represents an unspecified `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress` value, usually a replacement for `null` when a primitive value is desired. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#TransformingLazyColumnItemScrollProgress(kotlin.Float,kotlin.Float)( topOffsetFraction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, bottomOffsetFraction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` Constructs a `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress` with two offset fraction `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` values. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#bottomOffsetFraction()` The bottom offset (between the top of the list container and the bottom of the item) as a fraction of the height of the list container. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#isSpecified()` `false` when this is `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#isUnspecified()` `true` when this is `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#topOffsetFraction()` The top offset (between the top of the list container and the top of the item) as a fraction of the height of the list container. |

## Public companion properties

### Unspecified

```
val Unspecified: TransformingLazyColumnItemScrollProgress
```

Represents an unspecified `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress` value, usually a replacement for `null` when a primitive value is desired.

## Public constructors

### TransformingLazyColumnItemScrollProgress

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.5.0)

```
TransformingLazyColumnItemScrollProgress(
    topOffsetFraction: Float,
    bottomOffsetFraction: Float
)
```

Constructs a `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress` with two offset fraction `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` values.

| Parameters |
|---|---|
| `topOffsetFraction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The top offset (between the top of the list container and the top of the item) as a fraction of the height of the list container. |
| `bottomOffsetFraction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | The bottom offset (between the top of the list container and the bottom of the item) as a fraction of the height of the list container. |

## Public properties

### bottomOffsetFraction

```
val bottomOffsetFraction: Float
```

The bottom offset (between the top of the list container and the bottom of the item) as a fraction of the height of the list container. Is within (0, 1) when item is inside the screen and could exceed 1 when the bottom of item is off the screen. Value is calculated from the top of the container. This value is calculated before any height modifications are applied (using `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScope#(androidx.compose.ui.Modifier).transformedHeight(kotlin.Function2)` modifier). This returns `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/-companion/-na-n.html` if the progress was `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`.

### isSpecified

```
val isSpecified: Boolean
```

`false` when this is `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`.

### isUnspecified

```
val isUnspecified: Boolean
```

`true` when this is `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`.

### topOffsetFraction

```
val topOffsetFraction: Float
```

The top offset (between the top of the list container and the top of the item) as a fraction of the height of the list container. Is within (0, 1) when item is inside the screen and could be negative if the top of the item is off the screen. Value is calculated from the top of the container. This value is calculated before any height modifications are applied (using `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScope#(androidx.compose.ui.Modifier).transformedHeight(kotlin.Function2)` modifier). This returns `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/-companion/-na-n.html` if the progress was `https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/lazy/TransformingLazyColumnItemScrollProgress#Unspecified()`.