Composable Function

rememberMutableRemoteFloat

Factory composable for mutable remote float state.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

rememberMutableRemoteFloat

Android
@Composable
@RemoteComposable
public fun rememberMutableRemoteFloat(initialValue: Float): MutableRemoteFloat

Factory composable for mutable remote float state.

Parameters

initialValue The initial Float value.

Returns

A MutableRemoteFloat instance that will be remembered across recompositions.

rememberMutableRemoteFloat

Android
@Composable
@RemoteComposable
public fun rememberMutableRemoteFloat(
    content: RemoteFloatContext.() -> RemoteFloat
): MutableRemoteFloat

Remembers a remote float expression based on RemoteFloatContext.

Parameters

content A lambda that provides the RemoteFloat expression.

Returns

A RemoteFloat instance representing the provided expression.