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
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ChatNotificationChannelFragment.Builder
Sets the icon when the data is not exists.
Link copied to clipboard
Sets the text when the data is not exists
Link copied to clipboard
Sets the text when error occurs
Link copied to clipboard
open fun setNotificationListParams(@NonNull params: MessageListParams): ChatNotificationChannelFragment.Builder
Sets the notification list params for this channel.
Link copied to clipboard
open fun setOnItemClickListener(@NonNull itemClickListener: OnItemClickListener<BaseMessage>): ChatNotificationChannelFragment.Builder
Sets the click listener on the item of the notification message.
Link copied to clipboard
open fun setOnItemLongClickListener(@NonNull itemLongClickListener: OnItemLongClickListener<BaseMessage>): ChatNotificationChannelFragment.Builder
Sets the long click listener on the item of the notification message.
Link copied to clipboard
open fun setOnMessageTemplateActionHandler(@NonNull handler: OnNotificationTemplateActionHandler): ChatNotificationChannelFragment.Builder
Sets the click listener on the message template view clicked.
Link copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): ChatNotificationChannelFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
Sets arguments to this fragment.