Params

open class Params

A collection of parameters, which can be applied to a default View. The values of params are not dynamically applied at runtime. Params cannot be created directly, and it is automatically created together when components are created.

Since the onCreateView configuring View uses the values of the set Params, we recommend that you set up for Params before the onCreateView is called.

See also

getParams()

since 3.0.0

Constructors

Link copied to clipboard
protected open fun Params()
Constructor since 3.0.

Functions

Link copied to clipboard
protected open fun apply(@NonNull context: Context, @NonNull args: Bundle): BaseMessageListComponent.Params
Apply data that matches keys mapped to Params' properties.
Link copied to clipboard
open fun setEditedTextMarkUIConfig(@Nullable configSentFromMe: TextUIConfig, @Nullable configSentFromOthers: TextUIConfig)
Sets the UI configuration of edited mark text.
Link copied to clipboard
Sets the UI configuration of the linked text color in the message text.
Link copied to clipboard
open fun setMentionUIConfig(@Nullable configSentFromMe: TextUIConfig, @Nullable configSentFromOthers: TextUIConfig)
Sets the UI configuration of mentioned text.
Link copied to clipboard
open fun setMessageBackground(@Nullable drawableSentFromMe: Drawable, @Nullable drawableSentFromOthers: Drawable)
Sets the UI configuration of message background drawable.
Link copied to clipboard
open fun setMessageTextUIConfig(@Nullable configSentFromMe: TextUIConfig, @Nullable configSentFromOthers: TextUIConfig)
Sets the UI configuration of message text.
Link copied to clipboard
open fun setNicknameTextUIConfig(@NonNull configSentFromOthers: TextUIConfig)
Sets the UI configuration of sender nickname text.
Link copied to clipboard
open fun setOgtagBackground(@Nullable drawableSentFromMe: Drawable, @Nullable drawableSentFromOthers: Drawable)
Sets the UI configuration of ogtag message background drawable.
Link copied to clipboard
open fun setReactionListBackground(@Nullable drawableSentFromMe: Drawable, @Nullable drawableSentFromOthers: Drawable)
Sets the UI configuration of message reaction list background drawable.
Link copied to clipboard
open fun setRepliedMessageTextUIConfig(@NonNull configRepliedMessage: TextUIConfig)
Sets the UI configuration of the replied parent message text.
Link copied to clipboard
open fun setSentAtTextUIConfig(@Nullable configSentFromMe: TextUIConfig, @Nullable configSentFromOthers: TextUIConfig)
Sets the UI configuration of message sentAt text.
Link copied to clipboard
open fun setUseBanner(useBanner: Boolean)
Sets whether the message list banner is used.
Link copied to clipboard
open fun setUseMessageGroupUI(useMessageGroupUI: Boolean)
Sets whether the message group UI is used.
Link copied to clipboard
open fun setUseUserProfile(useUserProfile: Boolean)
Sets whether the user profile is shown when the profile of message is clicked.
Link copied to clipboard
Returns whether the message list banner is used.
Link copied to clipboard
Returns whether the message group UI is used.
Link copied to clipboard
Returns whether the user profile uses when the profile of message is clicked.

Properties

Link copied to clipboard
Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard