defaultFormatter
fun defaultFormatter(context: Context, autoTranslationEnabled: Boolean, typography: StreamTypography, attachmentFactories: List<AttachmentFactory>): MessagePreviewFormatter
Builds the default message preview text formatter.
Return
The default implementation of MessagePreviewFormatter.
Parameters
context
The context to load string resources.
autoTranslationEnabled
Whether the auto-translation is enabled.
typography
The typography to use for styling.
attachmentFactories
The list of AttachmentFactory to use for formatting attachments.