rememberStorytellerRowState

fun rememberStorytellerRowState(key: Any? = null, lazyListState: LazyListState = rememberLazyListState()): StorytellerRowState

Remembers a StorytellerRowState instance across recompositions for use with Storyteller row components. This state holder manages the underlying LazyListState and provides methods for reloading data and scrolling. For more details on using Storyteller list components and their states, see the Storyteller Lists Documentation.

Return

A remembered instance of StorytellerRowState.

Parameters

key

An optional key to cause recomposition and re-remembering of the state if the key changes.

lazyListState

The LazyListState to be used by this row. Defaults to a new state created by rememberLazyListState. Provide a custom state if you need to control scrolling or observe list state from outside.