MessagesLazyListState

constructor(lazyListState: LazyListState, messageOffsetHandler: MessagesLazyListState.MessageOffsetHandler = defaultOffsetHandler)

Parameters

lazyListState

State of the lazy list that represents the list of messages. Useful for controlling the scroll state.

messageOffsetHandler

The handler that calculates the focused message offset.