Package-level declarations
Types
Link copied to clipboard
A ViewHolder describes an item view and data about its place within the RecyclerView.
Link copied to clipboard
A ViewHolder describes an item view and Message about its place within the RecyclerView.
Link copied to clipboard
enum MessageType
Represents type of messages.
Link copied to clipboard
A ViewHolder describes an item view and Message about its place within the RecyclerView.
Link copied to clipboard
A Factory manages a type of messages.
Link copied to clipboard
open class MyMessageViewHolder(parent: ViewGroup, val contentView: View, messageListUIParams: MessageListUIParams, binding: <Error class: unknown class> = SbViewMyMessageBinding.inflate(
LayoutInflater.from(parent.context.toComponentListContextThemeWrapper()),
)) : MessageViewHolder, EmojiReactionHandler
This ViewHolder has a basic message template for 'My message.' To use it, inherit from this ViewHolder, inflate the view corresponding to the content, and pass it to the constructor.
Link copied to clipboard
open class OtherMessageViewHolder(parent: ViewGroup, val contentView: View? = null, messageListUIParams: MessageListUIParams, val binding: <Error class: unknown class> = SbViewOtherMessageBinding.inflate(
LayoutInflater.from(parent.context.toComponentListContextThemeWrapper())
)) : MessageViewHolder, EmojiReactionHandler
This ViewHolder has a basic message template for 'Other message.' To use it, inherit from this ViewHolder, inflate the view corresponding to the content, and pass it to the constructor.