rememberNamedRemoteDp
Source set: JvmAndAndroid
@Composable
public fun rememberNamedRemoteDp(
name: String,
defaultValue: RemoteDp,
domain: RemoteState.Domain = RemoteState.Domain.User,
): RemoteDp
Remembers a named RemoteDp initialized with defaultValue.
Parameters
| name | unique name identifying this state within its domain |
| defaultValue | initial RemoteDp constant or expression |
| domain | domain for the named state, defaulting to RemoteState.Domain.User |
Return
RemoteDp bound to the named Dp state