MessageListHelperContentParams
constructor(messageListState: MessageListState, messagesLazyListState: MessagesLazyListState, contentPadding: PaddingValues, onScrollToBottomClick: (() -> Unit) -> Unit, onScrollToFirstUnreadClick: () -> Unit = {}, onDismissUnreadLabel: () -> Unit = {})
Parameters
messageListState
The current state of the message list.
messagesLazyListState
The lazy list state for scrolling.
contentPadding
The content padding of the message list.
onScrollToBottomClick
Action invoked when the scroll to bottom button is clicked.
onScrollToFirstUnreadClick
Action invoked when the scroll-to-first-unread pill body is clicked. Implementations should scroll the list to the unread boundary.
onDismissUnreadLabel
Action invoked when the close affordance on the scroll-to-first-unread pill is clicked. Implementations should hide the pill without scrolling.