# MutableDoubleState

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/SnapshotDoubleState.kt+class:androidx.compose.runtime.MutableDoubleState) Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.5.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  interface MutableDoubleState : DoubleState, MutableState<Double>
  ```

*** ** * ** ***

A value holder where reads to the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#doubleValue()` property during the execution of a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable` function cause the current `https://developer.android.com/reference/kotlin/androidx/compose/runtime/RecomposeScope` to subscribe to changes of that value. When the `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#doubleValue()` property is written to and changed, a recomposition of any subscribed `https://developer.android.com/reference/kotlin/androidx/compose/runtime/RecomposeScope`s will be scheduled. If `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#doubleValue()` is written to with the same value, no recompositions will be scheduled.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/DoubleState` |   |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/package-summary#mutableDoubleStateOf(kotlin.Double)` |   |

## Summary

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#doubleValue()` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#value()` | Cmn |

| ### Extension functions |
|---|---|---|
| `inline operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState.https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState#(androidx.compose.runtime.MutableDoubleState).setValue(kotlin.Any,kotlin.reflect.KProperty,kotlin.Double)( thisObj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, property: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-property/index.html<*>, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html )` Permits property delegation of `var`s using `by` for `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState`. | Cmn |

### Inherited functions

From [androidx.compose.runtime.MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState) `operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState#component1()()` Cmn `operator (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState#component2()()` Cmn

## Public properties

### doubleValue

Cmn

```
var doubleValue: Double
```

### value

Cmn

```
open var value: Double
```

## Extension functions

### MutableDoubleState.setValue

Cmn Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/SnapshotDoubleState.kt+function:setValue)

```
inline operator fun MutableDoubleState.setValue(
    thisObj: Any?,
    property: KProperty<*>,
    value: Double
): Unit
```

Permits property delegation of `var`s using `by` for `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableDoubleState`.