Builder
Constructors
Functions
Link copied to clipboard
Creates an ChatNotificationChannelFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : ChatNotificationChannelFragment?> setCustomFragment(fragment: T): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int): ChatNotificationChannelFragment.Builder
Content copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the icon when the data is not exists.
Link copied to clipboard
open fun setEmptyText(@StringRes resId: Int): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the text when the data is not exists
Link copied to clipboard
open fun setErrorText(@StringRes resId: Int): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the text when error occurs
Link copied to clipboard
open fun setNotificationListParams(@NonNull params: MessageListParams): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the notification list params for this channel.
Link copied to clipboard
open fun setOnItemClickListener(@NonNull itemClickListener: OnItemClickListener<BaseMessage>): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the click listener on the item of the notification message.
Link copied to clipboard
open fun setOnItemLongClickListener(@NonNull itemLongClickListener: OnItemLongClickListener<BaseMessage>): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the long click listener on the item of the notification message.
Link copied to clipboard
open fun setOnMessageTemplateActionHandler(@NonNull handler: OnNotificationTemplateActionHandler): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets the click listener on the message template view clicked.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets whether the left button of the header is used.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): ChatNotificationChannelFragment.Builder
Content copied to clipboard
Sets arguments to this fragment.