Interface

MutableIntState

A value holder where reads to the intValue property during the execution of a Composable function cause the current RecomposeScope to subscribe to changes of that value.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.11.0-rc01

@JvmDefaultWithCompatibility
public interface MutableIntState : IntState, MutableState<Int>

A value holder where reads to the intValue property during the execution of a Composable function cause the current RecomposeScope to subscribe to changes of that value. When the intValue property is written to and changed, a recomposition of any subscribed RecomposeScopes will be scheduled. If intValue is written to with the same value, no recompositions will be scheduled.

Properties

value

Source set: Common

Added in 1.11.0-rc01

@get:AutoboxingStateValueProperty("intValue")
@set:AutoboxingStateValueProperty("intValue")
override var value: Int

intValue

Source set: Common

Added in 1.11.0-rc01

override var intValue: Int