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): OpenChannelMessageListComponent.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 searched text.
Link copied to clipboard
open fun setLinkedTextColor(@NonNull color: ColorStateList)
Sets the UI configuration of the linked text color in the message 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(    @Nullable configSentFromMe: TextUIConfig,     @Nullable configSentFromOthers: TextUIConfig,     @Nullable configSentFromOperator: 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 setSentAtTextUIConfig(@Nullable configSentFromMe: TextUIConfig, @Nullable configSentFromOthers: TextUIConfig)
Sets the UI configuration of message sentAt text.
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
open fun shouldUseGroupUI(): Boolean
Returns whether the message group UI is used.
Link copied to clipboard
open fun shouldUseUserProfile(): Boolean
Returns whether the user profile uses when the profile of message is clicked.

Properties

Link copied to clipboard
open var openChannelConfig: OpenChannelConfig