Package-level declarations
Types
Provides a wrapper around lazy list state to be used with Messages composable. It is used to keep track of the focused message offset needed to center the focused message in the scroll list.
Represents where the thread messages start.
Properties
Functions
Represents the default content shown at the center of the message list item.
Message content when the message consists only of emoji.
Represents the message item container that allows us to customize each type of item in the MessageList.
The default message container for all messages in the Conversation/Messages screen.
Default MessageList component, that relies on MessageListViewModel to connect all the data handling operations. It also delegates events to the ViewModel to handle, like long item clicks and pagination.
Clean representation of the MessageList that is decoupled from ViewModels. This components allows users to connect the UI to their own data providers, as it relies on pure state.
Builds a list of message items, based on the itemContent parameter and the state provided within messagesState. Also handles the pagination events, by propagating the event to the call site.
Message content for messages which consist of more than just emojis.