Mention Span
fun MentionSpan(context: Context, trigger: String, value: String, mentionedUser: User, uiConfig: TextUIConfig, mentionedCurrentUserUIConfig: TextUIConfig?)
Constructor
Since
3.0.0
Parameters
context
The Context
this spannable is currently associated with
trigger
The text to trigger mention
value
The text to be mentioned
mentioned User
The User relevant to this mention-spanned text
ui Config
The mention ui config.
mentioned Current User UIConfig
The mention ui config if current user is mentioned
fun MentionSpan(context: Context, mentionType: MentionType = MentionType.USERS, trigger: String, value: String, mentionedUser: User, uiConfig: TextUIConfig, mentionedCurrentUserUIConfig: TextUIConfig? = null)