main.com.sceyt.chatuikit.providers.SceytChatUIKitProviders.kt Maven / Gradle / Ivy
package com.sceyt.chatuikit.providers
import android.graphics.drawable.Drawable
import com.sceyt.chat.models.user.PresenceState
import com.sceyt.chatuikit.data.models.channels.SceytChannel
import com.sceyt.chatuikit.data.models.messages.MarkerType
import com.sceyt.chatuikit.data.models.messages.SceytAttachment
import com.sceyt.chatuikit.data.models.messages.SceytUser
import com.sceyt.chatuikit.persistence.lazyVar
import com.sceyt.chatuikit.presentation.custom_views.AvatarView
import com.sceyt.chatuikit.providers.defaults.DefaultAttachmentIconProvider
import com.sceyt.chatuikit.providers.defaults.DefaultChannelDefaultAvatarProvider
import com.sceyt.chatuikit.providers.defaults.DefaultChannelListAttachmentIconProvider
import com.sceyt.chatuikit.providers.defaults.DefaultChannelURIValidationMessageProvider
import com.sceyt.chatuikit.providers.defaults.DefaultMarkerTitleProvider
import com.sceyt.chatuikit.providers.defaults.DefaultPresenceStateColorProvider
import com.sceyt.chatuikit.providers.defaults.DefaultSenderNameColorProvider
import com.sceyt.chatuikit.providers.defaults.DefaultUserAvatarProvider
import com.sceyt.chatuikit.providers.defaults.URIValidationType
class SceytChatUIKitProviders {
var attachmentIconProvider: VisualProvider by lazyVar {
DefaultAttachmentIconProvider
}
var channelListAttachmentIconProvider: VisualProvider by lazyVar {
DefaultChannelListAttachmentIconProvider
}
var channelDefaultAvatarProvider: VisualProvider by lazyVar {
DefaultChannelDefaultAvatarProvider
}
var channelURIValidationMessageProvider: VisualProvider by lazyVar {
DefaultChannelURIValidationMessageProvider
}
var userDefaultAvatarProvider: VisualProvider by lazyVar {
DefaultUserAvatarProvider
}
val senderNameColorProvider: VisualProvider by lazyVar {
DefaultSenderNameColorProvider
}
var presenceStateColorProvider: VisualProvider by lazyVar {
DefaultPresenceStateColorProvider
}
var markerTitleProvider: VisualProvider by lazyVar {
DefaultMarkerTitleProvider
}
}