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): MessageInputComponent.Params
Apply data that matches keys mapped to Params' properties.
Link copied to clipboard
open fun getMessageInputTextUIConfig(): TextUIConfig
Returns the UI configuration of message input text.
Link copied to clipboard
open fun isAlwaysShowRightButton(): Boolean
Returns whether the right button of the input view is shown always.
Link copied to clipboard
open fun setInputHint(@Nullable hint: String)
Sets the hint of the input view.
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 setMessageInputTextUIConfig(@Nullable textUIConfig: TextUIConfig)
Sets the UI configuration of message input text.
Link copied to clipboard
open fun setUseLeftButton(useLeftButton: Boolean)
Sets whether the left button of the input view is used.
Link copied to clipboard
open fun setUseSuggestedMentionListDivider(useDivider: Boolean)
Sets whether to use divider in suggested mention list.
Link copied to clipboard
open fun shouldUseLeftButton(): Boolean
Returns whether the left button of the input view is used.
Link copied to clipboard
open fun shouldUseSuggestedMentionListDivider(): Boolean
Returns whether to use divider in suggested mention list.
Link copied to clipboard
open fun showInputRightButtonAlways()
Shows always the right button of the input view.

Properties

Link copied to clipboard
open var channelConfig: ChannelConfig
Link copied to clipboard
open val hintText: String
Link copied to clipboard
open var inputText: String
Link copied to clipboard
open var isViewEnabled: Boolean
Link copied to clipboard
open var keyboardDisplayType: KeyboardDisplayType
Link copied to clipboard
open var leftButtonIcon: Drawable
Link copied to clipboard
open var leftButtonIconTint: ColorStateList
Link copied to clipboard
open var rightButtonIcon: Drawable
Link copied to clipboard
open var rightButtonIconTint: ColorStateList

Inheritors

Link copied to clipboard