apply

protected open fun apply(@NonNull context: Context, @NonNull args: Bundle): BaseMessageListComponent.Params

Apply data that matches keys mapped to Params' properties. KEY_STARTING_POINT is mapped to setInitialStartingPointKEY_USE_USER_PROFILE is mapped to setUseUserProfileKEY_USE_MESSAGE_GROUP_UI is mapped to setUseMessageGroupUIKEY_MENTION_UI_CONFIG_SENT_FROM_ME and KEY_MENTION_UI_CONFIG_SENT_FROM_OTHERS are mapped to setMentionUIConfigKEY_EDITED_MARK_UI_CONFIG_SENT_FROM_ME and KEY_EDITED_MARK_UI_CONFIG_SENT_FROM_OTHERS are mapped to setEditedTextMarkUIConfigKEY_MESSAGE_TEXT_UI_CONFIG_SENT_FROM_ME and KEY_MESSAGE_TEXT_UI_CONFIG_SENT_FROM_OTHERS are mapped to setMessageTextUIConfigKEY_SENT_AT_TEXT_UI_CONFIG_SENT_FROM_ME and KEY_SENT_AT_TEXT_UI_CONFIG_SENT_FROM_OTHERS are mapped to setSentAtTextUIConfigKEY_NICKNAME_TEXT_UI_CONFIG_SENT_FROM_OTHERS is mapped to setNicknameTextUIConfigKEY_REPLIED_MESSAGE_TEXT_UI_CONFIG is mapped to setRepliedMessageTextUIConfigKEY_MESSAGE_BACKGROUND_SENT_FROM_ME and KEY_MESSAGE_BACKGROUND_SENT_FROM_OTHERS are mapped to setMessageBackgroundKEY_REACTION_LIST_BACKGROUND_SENT_FROM_ME and KEY_REACTION_LIST_BACKGROUND_SENT_FROM_OTHERS are mapped to setReactionListBackgroundKEY_OGTAG_BACKGROUND_SENT_FROM_ME and KEY_OGTAG_BACKGROUND_SENT_FROM_OTHERS are mapped to setOgtagBackgroundKEY_LINKED_TEXT_COLOR is mapped to setLinkedTextColorKEY_CHANNEL_CONFIG is mapped to setChannelConfig

Return

This Params object that applied with given data. since 3.0.0

Parameters

context

The Context this component is currently associated with

args

The sets of arguments to apply at Params.