Class MessageThreadFragment.Builder

  • Enclosing class:
    MessageThreadFragment

    public static class MessageThreadFragment.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder​(@NonNull
                       java.lang.String channelUrl,
                       @NonNull
                       com.sendbird.android.message.BaseMessage parentMessage)
        Constructor
        Parameters:
        channelUrl - the url of the channel will be implemented.
        parentMessage - the parent message of thread.
        Since:
        3.3.0
      • Builder

        public Builder​(@NonNull
                       java.lang.String channelUrl,
                       @NonNull
                       com.sendbird.android.message.BaseMessage parentMessage,
                       @NonNull
                       SendbirdUIKit.ThemeMode themeMode)
        Constructor
        Parameters:
        channelUrl - the url of the channel will be implemented.
        parentMessage - the parent message of thread.
        themeMode - SendbirdUIKit.ThemeMode
        Since:
        3.3.0
      • Builder

        public Builder​(@NonNull
                       java.lang.String channelUrl,
                       @NonNull
                       com.sendbird.android.message.BaseMessage parentMessage,
                       @StyleRes
                       int customThemeResId)
        Constructor
        Parameters:
        channelUrl - the url of the channel will be implemented.
        parentMessage - the parent message of thread.
        customThemeResId - the resource identifier for custom theme. The theme resource id must be `sb_module_message_thread`.
        Since:
        3.3.0
    • Method Detail

      • withArguments

        @NonNull
        public MessageThreadFragment.Builder withArguments​(@NonNull
                                                           Bundle args)
        Sets arguments to this fragment.
        Parameters:
        args - the arguments supplied when the fragment was instantiated.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setStartingPoint

        @NonNull
        public MessageThreadFragment.Builder setStartingPoint​(long startTimemillis)
        Sets the timestamp to load the messages with.
        Parameters:
        startTimemillis - The timestamp to load initially.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseHeader

        @NonNull
        public MessageThreadFragment.Builder setUseHeader​(boolean useHeader)
        Sets whether the header is used.
        Parameters:
        useHeader - true if the header is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseHeaderRightButton

        @NonNull
        public MessageThreadFragment.Builder setUseHeaderRightButton​(boolean useHeaderRightButton)
        Sets whether the right button of the header is used.
        Parameters:
        useHeaderRightButton - true if the right button of the header is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseHeaderLeftButton

        @NonNull
        public MessageThreadFragment.Builder setUseHeaderLeftButton​(boolean useHeaderLeftButton)
        Sets whether the left button of the header is used.
        Parameters:
        useHeaderLeftButton - true if the left button of the header is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setHeaderTitle

        @NonNull
        public MessageThreadFragment.Builder setHeaderTitle​(@NonNull
                                                            java.lang.String title)
        Sets the title of the header.
        Parameters:
        title - text to be displayed.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setHeaderLeftButtonIconResId

        @NonNull
        public MessageThreadFragment.Builder setHeaderLeftButtonIconResId​(@DrawableRes
                                                                          int resId)
        Sets the icon on the left button of the header.
        Parameters:
        resId - the resource identifier of the drawable.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setHeaderLeftButtonIcon

        @NonNull
        public MessageThreadFragment.Builder setHeaderLeftButtonIcon​(@DrawableRes
                                                                     int resId,
                                                                     @Nullable
                                                                     ColorStateList tint)
        Sets the icon on the left button of the header.
        Parameters:
        resId - the resource identifier of the drawable.
        tint - Color state list to use for tinting this resource, or null to clear the tint.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setHeaderRightButtonIconResId

        @NonNull
        public MessageThreadFragment.Builder setHeaderRightButtonIconResId​(@DrawableRes
                                                                           int resId)
        Sets the icon on the right button of the header.
        Parameters:
        resId - the resource identifier of the drawable.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setHeaderRightButtonIcon

        @NonNull
        public MessageThreadFragment.Builder setHeaderRightButtonIcon​(@DrawableRes
                                                                      int resId,
                                                                      @Nullable
                                                                      ColorStateList tint)
        Sets the icon on the right button of the header.
        Parameters:
        resId - the resource identifier of the drawable.
        tint - Color state list to use for tinting this resource, or null to clear the tint.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseInputLeftButton

        @NonNull
        public MessageThreadFragment.Builder setUseInputLeftButton​(boolean useInputLeftButton)
        Sets whether the left button of the input is used.
        Parameters:
        useInputLeftButton - true if the left button of the input is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputLeftButtonIconResId

        @NonNull
        public MessageThreadFragment.Builder setInputLeftButtonIconResId​(@DrawableRes
                                                                         int resId)
        Sets the icon on the left button of the input.
        Parameters:
        resId - the resource identifier of the drawable.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputLeftButtonIcon

        @NonNull
        public MessageThreadFragment.Builder setInputLeftButtonIcon​(@DrawableRes
                                                                    int resId,
                                                                    @Nullable
                                                                    ColorStateList tint)
        Sets the icon on the left button of the input.
        Parameters:
        resId - the resource identifier of the drawable.
        tint - Color state list to use for tinting this resource, or null to clear the tint.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputRightButtonIconResId

        @NonNull
        public MessageThreadFragment.Builder setInputRightButtonIconResId​(@DrawableRes
                                                                          int resId)
        Sets the icon on the right button of the input.
        Parameters:
        resId - the resource identifier of the drawable.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputRightButtonIcon

        @NonNull
        public MessageThreadFragment.Builder setInputRightButtonIcon​(@DrawableRes
                                                                     int resId,
                                                                     @Nullable
                                                                     ColorStateList tint)
        Sets the icon on the right button of the input.
        Parameters:
        resId - the resource identifier of the drawable.
        tint - Color state list to use for tinting this resource, or null to clear the tint.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • showInputRightButtonAlways

        @NonNull
        public MessageThreadFragment.Builder showInputRightButtonAlways()
        Sets whether showing the right button of the input always.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputHint

        @NonNull
        public MessageThreadFragment.Builder setInputHint​(@NonNull
                                                          java.lang.String hint)
        Sets the hint of the input text.
        Parameters:
        hint - text to be displayed.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnHeaderLeftButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnHeaderLeftButtonClickListener​(@NonNull
                                                                                View.OnClickListener listener)
        Sets the click listener on the left button of the header.
        Parameters:
        listener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnHeaderRightButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnHeaderRightButtonClickListener​(@NonNull
                                                                                 View.OnClickListener listener)
        Sets the click listener on the right button of the header.
        Parameters:
        listener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnHeaderDescriptionClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnHeaderDescriptionClickListener​(@NonNull
                                                                                 View.OnClickListener listener)
        Sets the click listener on the description of the header.
        Parameters:
        listener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setThreadListAdapter

        @NonNull
        public MessageThreadFragment.Builder setThreadListAdapter​(@Nullable
                                                                  ThreadListAdapter adapter)
        Sets the thread list adapter.
        Parameters:
        adapter - the adapter for the thread list.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnMessageClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnMessageClickListener​(@NonNull
                                                                       OnItemClickListener<com.sendbird.android.message.BaseMessage> itemClickListener)
        Sets the click listener on the item of message list.
        Parameters:
        itemClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnMessageLongClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnMessageLongClickListener​(@NonNull
                                                                           OnItemLongClickListener<com.sendbird.android.message.BaseMessage> itemLongClickListener)
        Sets the long click listener on the item of message list.
        Parameters:
        itemLongClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnInputLeftButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnInputLeftButtonClickListener​(@NonNull
                                                                               View.OnClickListener listener)
        Sets the click listener on the left button of the input.
        Parameters:
        listener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setThreadMessageListParams

        @NonNull
        public MessageThreadFragment.Builder setThreadMessageListParams​(@NonNull
                                                                        com.sendbird.android.params.ThreadMessageListParams params)
        Sets the thread message list params for this channel. The reverse, the nextResultSize, and the previousResultSize properties in the ThreadMessageListParams are used in the UIKit. Even though you set that property it will be ignored.
        Parameters:
        params - The ThreadMessageListParams instance that you want to use.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setEmojiReactionClickListener

        @NonNull
        public MessageThreadFragment.Builder setEmojiReactionClickListener​(@NonNull
                                                                           OnEmojiReactionClickListener emojiReactionClickListener)
        Sets the click listener on the emoji reaction of the message.
        Parameters:
        emojiReactionClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setEmojiReactionLongClickListener

        @NonNull
        public MessageThreadFragment.Builder setEmojiReactionLongClickListener​(@NonNull
                                                                               OnEmojiReactionLongClickListener emojiReactionLongClickListener)
        Sets the long click listener on the emoji reaction of the message.
        Parameters:
        emojiReactionLongClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setEmojiReactionMoreButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setEmojiReactionMoreButtonClickListener​(@NonNull
                                                                                     OnItemClickListener<com.sendbird.android.message.BaseMessage> emojiReactionMoreButtonClickListener)
        Sets the click listener on the emoji reaction more button.
        Parameters:
        emojiReactionMoreButtonClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseMessageGroupUI

        @NonNull
        public MessageThreadFragment.Builder setUseMessageGroupUI​(boolean useMessageGroupUI)
        Sets whether the message group UI is used.
        Parameters:
        useMessageGroupUI - true if the message group UI is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnMessageProfileClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnMessageProfileClickListener​(@NonNull
                                                                              OnItemClickListener<com.sendbird.android.message.BaseMessage> profileClickListener)
        Sets the click listener on the profile of message.
        Parameters:
        profileClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnMessageProfileLongClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnMessageProfileLongClickListener​(@NonNull
                                                                                  OnItemLongClickListener<com.sendbird.android.message.BaseMessage> messageProfileLongClickListener)
        Sets the long click listener on the profile of message.
        Parameters:
        messageProfileLongClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnParentMessageMenuClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnParentMessageMenuClickListener​(@NonNull
                                                                                 OnItemClickListener<com.sendbird.android.message.BaseMessage> parentMessageMenuClickListener)
        Sets the click listener on the parent message menu.
        Parameters:
        parentMessageMenuClickListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseUserProfile

        @NonNull
        public MessageThreadFragment.Builder setUseUserProfile​(boolean useUserProfile)
        Sets whether the user profile uses.
        Parameters:
        useUserProfile - true if the user profile is shown when the profile image clicked, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setLoadingDialogHandler

        @NonNull
        public MessageThreadFragment.Builder setLoadingDialogHandler​(@NonNull
                                                                     LoadingDialogHandler loadingDialogHandler)
        Sets the custom loading dialog handler
        Parameters:
        loadingDialogHandler - Interface definition for a callback to be invoked before when the loading dialog is called.
        Since:
        3.3.0
        See Also:
        LoadingDialogHandler
      • setEmptyIcon

        @NonNull
        public MessageThreadFragment.Builder setEmptyIcon​(@DrawableRes
                                                          int resId,
                                                          @Nullable
                                                          ColorStateList tint)
        Sets the icon when the data is not exists.
        Parameters:
        resId - the resource identifier of the drawable.
        tint - Color state list to use for tinting this resource, or null to clear the tint.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setEmptyText

        @NonNull
        public MessageThreadFragment.Builder setEmptyText​(@StringRes
                                                          int resId)
        Sets the text when the data is not exists
        Parameters:
        resId - the resource identifier of text to be displayed.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setErrorText

        @NonNull
        public MessageThreadFragment.Builder setErrorText​(@StringRes
                                                          int resId)
        Sets the text when error occurs
        Parameters:
        resId - the resource identifier of text to be displayed.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnEditModeTextChangedListener

        @NonNull
        public MessageThreadFragment.Builder setOnEditModeTextChangedListener​(@NonNull
                                                                              OnInputTextChangedListener editModeTextChangedListener)
        Sets the listener invoked when a text of message input is edited.
        Parameters:
        editModeTextChangedListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setInputText

        @NonNull
        public MessageThreadFragment.Builder setInputText​(@NonNull
                                                          java.lang.String inputText)
        Sets the input text
        Parameters:
        inputText - the message text to be displayed.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnInputTextChangedListener

        @NonNull
        public MessageThreadFragment.Builder setOnInputTextChangedListener​(@NonNull
                                                                           OnInputTextChangedListener inputTextChangedListener)
        Sets the listener invoked when a text of message input is changed..
        Parameters:
        inputTextChangedListener - The callback that will run.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setSuggestedMentionListAdapter

        @NonNull
        public MessageThreadFragment.Builder setSuggestedMentionListAdapter​(@Nullable
                                                                            SuggestedMentionListAdapter adapter)
        Sets the suggested mention list adapter.
        Parameters:
        adapter - the adapter for the mentionable user list.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setMentionUIConfig

        @NonNull
        public MessageThreadFragment.Builder setMentionUIConfig​(@Nullable
                                                                TextUIConfig configSentFromMe,
                                                                @Nullable
                                                                TextUIConfig configSentFromOthers)
        Sets the UI configuration of mentioned text.
        Parameters:
        configSentFromMe - the UI configuration of mentioned text in the message that was sent from me.
        configSentFromOthers - the UI configuration of mentioned text in the message that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setEditedTextMarkUIConfig

        @NonNull
        public MessageThreadFragment.Builder setEditedTextMarkUIConfig​(@Nullable
                                                                       TextUIConfig configSentFromMe,
                                                                       @Nullable
                                                                       TextUIConfig configSentFromOthers)
        Sets the UI configuration of edited text mark.
        Parameters:
        configSentFromMe - the UI configuration of edited text mark in the message that was sent from me.
        configSentFromOthers - the UI configuration of edited text mark in the message that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setMessageTextUIConfig

        @NonNull
        public MessageThreadFragment.Builder setMessageTextUIConfig​(@Nullable
                                                                    TextUIConfig configSentFromMe,
                                                                    @Nullable
                                                                    TextUIConfig configSentFromOthers)
        Sets the UI configuration of message text.
        Parameters:
        configSentFromMe - the UI configuration of the message text that was sent from me.
        configSentFromOthers - the UI configuration of the message text that was sent from others.\
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setSentAtTextUIConfig

        @NonNull
        public MessageThreadFragment.Builder setSentAtTextUIConfig​(@Nullable
                                                                   TextUIConfig configSentFromMe,
                                                                   @Nullable
                                                                   TextUIConfig configSentFromOthers)
        Sets the UI configuration of message sentAt text.
        Parameters:
        configSentFromMe - the UI configuration of the message sentAt text that was sent from me.
        configSentFromOthers - the UI configuration of the message sentAt text that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setNicknameTextUIConfig

        @NonNull
        public MessageThreadFragment.Builder setNicknameTextUIConfig​(@NonNull
                                                                     TextUIConfig configSentFromOthers)
        Sets the UI configuration of sender nickname text.
        Parameters:
        configSentFromOthers - the UI configuration of the sender nickname text that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setMessageInputTextUIConfig

        @NonNull
        public MessageThreadFragment.Builder setMessageInputTextUIConfig​(@NonNull
                                                                         TextUIConfig textUIConfig)
        Sets the UI configuration of message input text.
        Parameters:
        textUIConfig - the UI configuration of the message input text.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setMessageBackground

        @NonNull
        public MessageThreadFragment.Builder setMessageBackground​(@DrawableRes
                                                                  int drawableResSentFromMe,
                                                                  @DrawableRes
                                                                  int drawableResSentFromOthers)
        Sets the UI configuration of message background drawable.
        Parameters:
        drawableResSentFromMe - the UI configuration of the message background that was sent from me.
        drawableResSentFromOthers - the UI configuration of the message background that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setReactionListBackground

        @NonNull
        public MessageThreadFragment.Builder setReactionListBackground​(@DrawableRes
                                                                       int drawableResSentFromMe,
                                                                       @DrawableRes
                                                                       int drawableResSentFromOthers)
        Sets the UI configuration of message reaction list background drawable.
        Parameters:
        drawableResSentFromMe - the UI configuration of the message reaction list background drawable that was sent from me.
        drawableResSentFromOthers - the UI configuration of the message reaction list background drawable that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOgtagBackground

        @NonNull
        public MessageThreadFragment.Builder setOgtagBackground​(@DrawableRes
                                                                int drawableResSentFromMe,
                                                                @DrawableRes
                                                                int drawableResSentFromOthers)
        Sets the UI configuration of ogtag message background drawable.
        Parameters:
        drawableResSentFromMe - the UI configuration of the ogtag message background drawable that was sent from me.
        drawableResSentFromOthers - the UI configuration of the ogtag message background drawable that was sent from others.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setLinkedTextColor

        @NonNull
        public MessageThreadFragment.Builder setLinkedTextColor​(@ColorRes
                                                                int colorRes)
        Sets the UI configuration of the linked text color in the message text.
        Parameters:
        colorRes - the UI configuration of the linked text color.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnInputRightButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnInputRightButtonClickListener​(@Nullable
                                                                                View.OnClickListener inputRightButtonClickListener)
        Register a callback to be invoked when the right button of the input is clicked.
        Parameters:
        inputRightButtonClickListener - The callback that will run
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnEditModeCancelButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnEditModeCancelButtonClickListener​(@Nullable
                                                                                    View.OnClickListener editModeCancelButtonClickListener)
        Register a callback to be invoked when the cancel button is clicked, when the input is the edited mode.
        Parameters:
        editModeCancelButtonClickListener - The callback that will run
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnEditModeSaveButtonClickListener

        @NonNull
        public MessageThreadFragment.Builder setOnEditModeSaveButtonClickListener​(@Nullable
                                                                                  View.OnClickListener editModeSaveButtonClickListener)
        Register a callback to be invoked when the save button is clicked, when the input is the edited mode.
        Parameters:
        editModeSaveButtonClickListener - The callback that will run
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setOnInputModeChangedListener

        @NonNull
        public MessageThreadFragment.Builder setOnInputModeChangedListener​(@Nullable
                                                                           OnInputModeChangedListener inputModeChangedListener)
        Register a callback to be invoked when the input mode is changed.
        Parameters:
        inputModeChangedListener - The callback that will run
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseSuggestedMentionListDivider

        @NonNull
        public MessageThreadFragment.Builder setUseSuggestedMentionListDivider​(boolean useDivider)
        Sets whether to use divider in suggested mention list.
        Parameters:
        useDivider - If true the divider will be used at suggested mention list, false other wise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0
      • setUseMessageListBanner

        @NonNull
        public MessageThreadFragment.Builder setUseMessageListBanner​(boolean useBanner)
        Sets whether the message list banner is used.
        Parameters:
        useBanner - true if the message list banner is used, false otherwise.
        Returns:
        This Builder object to allow for chaining of calls to set methods.
        Since:
        3.3.0