DecoratorProviderFactory
interface DecoratorProviderFactory
A factory responsible for creating DecoratorProviders to be used in io.getstream.chat.android.ui.feature.messages.list.MessageListView.
Functions
Link copied to clipboard
abstract fun createDecoratorProvider(channel: Channel, dateFormatter: DateFormatter, messageListViewStyle: MessageListViewStyle, showAvatarPredicate: MessageListView.ShowAvatarPredicate, messageBackgroundFactory: MessageBackgroundFactory, deletedMessageVisibility: () -> DeletedMessageVisibility, getLanguageDisplayName: (code: String) -> String): DecoratorProvider
Creates a new DecoratorProvider for the given channel.
Inherited functions
Link copied to clipboard
operator fun DecoratorProviderFactory.plus(other: DecoratorProviderFactory): DecoratorProviderFactory
Combines two DecoratorProviderFactorys into a single DecoratorProviderFactory.