MessageBackgroundFactoryImpl
Default drawer of background of message items.
Functions
Link copied to clipboard
open override fun deletedMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of deleted messages.
Link copied to clipboard
open override fun fileAttachmentsMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of messages containing file attachments.
Link copied to clipboard
Draws the drawable to the used as background for Giphys.
Link copied to clipboard
open override fun imageAttachmentMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of messages containing image attachments.
Link copied to clipboard
open override fun linkAttachmentMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of messages containing links and no other types of attachments.
Link copied to clipboard
open override fun plainTextMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of plain text messages.
Link copied to clipboard
open override fun pollMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of messages containing polls.
Link copied to clipboard
open override fun textAndAttachmentMessageBackground(context: Context, data: MessageListItem.MessageItem): Drawable
Draws the background of text and attachment messages.