MarkdownTextTransformer

class MarkdownTextTransformer @JvmOverloads constructor(context: Context, getDisplayedText: (messageItem: MessageListItem.MessageItem) -> String = { it.message.text }) : ChatMessageTextTransformer

Markdown based implementation of ChatMessageTextTransformer that parses the message text as Markdown and apply it to TextView.

Constructors

Link copied to clipboard
constructor(context: Context, getDisplayedText: (messageItem: MessageListItem.MessageItem) -> String = { it.message.text })

Functions

Link copied to clipboard
open override fun transformAndApply(textView: TextView, messageItem: MessageListItem.MessageItem)