Start native apps faster with the Composables CLI ->
Composable Function

rememberRemoteScrollState

Creates and remembers a RemoteScrollState.

rememberRemoteScrollState

Source set: Android
@Composable
public fun rememberRemoteScrollState(notches: Int = 0): RemoteScrollState

Creates and remembers a RemoteScrollState.

Parameters

notches The number of equally spaced snap points (notches) along the scroll range. If greater than 0, the scroll position will snap to the nearest notch when the scroll gesture ends. If 0, scrolling is continuous.

Return

remembered RemoteScrollState