main.com.sceyt.chatuikit.formatters.SceytChatUIKitFormatters.kt Maven / Gradle / Ivy
package com.sceyt.chatuikit.formatters
import com.sceyt.chatuikit.data.models.channels.SceytChannel
import com.sceyt.chatuikit.data.models.messages.SceytAttachment
import com.sceyt.chatuikit.data.models.messages.SceytUser
import com.sceyt.chatuikit.formatters.attributes.DraftMessageBodyFormatterAttributes
import com.sceyt.chatuikit.formatters.attributes.MessageBodyFormatterAttributes
import com.sceyt.chatuikit.formatters.defaults.DefaultAttachmentNameFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultAttachmentSizeFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelDateFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelInfoAttachmentDateFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelInfoDateSeparatorFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelInfoFileSubtitleFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelInfoVoiceSubtitleFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelLastMessageSenderNameFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelNameFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultChannelSubtitleFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultDraftMessageBodyFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMediaDurationFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMentionUserNameFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageBodyFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageBodyWithAttachmentsFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageDateFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageDateSeparatorFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageInfoDateFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultMessageViewCountFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultUnreadCountFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultUserNameFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultUserPresenceDateFormatter
import com.sceyt.chatuikit.formatters.defaults.DefaultUserShortNameFormatter
import com.sceyt.chatuikit.persistence.lazyVar
import java.util.Date
class SceytChatUIKitFormatters {
var userPresenceDateFormatter: Formatter by lazyVar {
DefaultUserPresenceDateFormatter()
}
var userNameFormatter: Formatter by lazyVar {
DefaultUserNameFormatter
}
var userShortNameFormatter: Formatter by lazyVar {
DefaultUserShortNameFormatter
}
var mentionUserNameFormatter: Formatter by lazyVar {
DefaultMentionUserNameFormatter
}
var typingUserNameFormatter: Formatter by lazyVar {
DefaultUserShortNameFormatter
}
var reactedUserNameFormatter: Formatter by lazyVar {
DefaultUserNameFormatter
}
var channelNameFormatter: Formatter by lazyVar {
DefaultChannelNameFormatter
}
var channelSubtitleFormatter: Formatter by lazyVar {
DefaultChannelSubtitleFormatter
}
var channelDateFormatter: Formatter by lazyVar {
DefaultChannelDateFormatter()
}
var channelLastMessageSenderNameFormatter: Formatter by lazyVar {
DefaultChannelLastMessageSenderNameFormatter
}
var messageBodyFormatter: Formatter by lazyVar {
DefaultMessageBodyFormatter
}
var channelLastMessageBodyFormatter: Formatter by lazyVar {
DefaultMessageBodyWithAttachmentsFormatter
}
var editMessageBodyFormatter: Formatter by lazyVar {
DefaultMessageBodyWithAttachmentsFormatter
}
var replyMessageBodyFormatter: Formatter by lazyVar {
DefaultMessageBodyWithAttachmentsFormatter
}
var repliedMessageBodyFormatter: Formatter by lazyVar {
DefaultMessageBodyWithAttachmentsFormatter
}
var draftMessageBodyFormatter: Formatter by lazyVar {
DefaultDraftMessageBodyFormatter
}
var messageDateFormatter: Formatter by lazyVar {
DefaultMessageDateFormatter
}
var messageInfoDateFormatter: Formatter by lazyVar {
DefaultMessageInfoDateFormatter
}
var messageDateSeparatorFormatter: Formatter by lazyVar {
DefaultMessageDateSeparatorFormatter()
}
var channelInfoAttachmentDateFormatter: Formatter by lazyVar {
DefaultChannelInfoAttachmentDateFormatter
}
var channelInfoDateSeparatorFormatter: Formatter by lazyVar {
DefaultChannelInfoDateSeparatorFormatter()
}
var channelInfoFileSubtitleFormatter: Formatter by lazyVar {
DefaultChannelInfoFileSubtitleFormatter
}
var channelInfoVoiceSubtitleFormatter: Formatter by lazyVar {
DefaultChannelInfoVoiceSubtitleFormatter
}
var messageViewCountFormatter: Formatter by lazyVar {
DefaultMessageViewCountFormatter
}
var attachmentNameFormatter: Formatter by lazyVar {
DefaultAttachmentNameFormatter
}
var attachmentSizeFormatter: Formatter by lazyVar {
DefaultAttachmentSizeFormatter
}
var mediaDurationFormatter: Formatter by lazyVar {
DefaultMediaDurationFormatter
}
var unreadCountFormatter: Formatter by lazyVar {
DefaultUnreadCountFormatter
}
}