Builder

open class Builder

Constructors

Link copied to clipboard
open fun Builder(@NonNull channelUrl: String)
Constructor
Link copied to clipboard
open fun Builder(@NonNull channelUrl: String, @NonNull themeMode: SendbirdUIKit.ThemeMode)
Constructor
Link copied to clipboard
open fun Builder(@NonNull channelUrl: String, @StyleRes customThemeResId: Int)
Constructor

Functions

Link copied to clipboard
open fun build(): ChatNotificationChannelFragment
Creates an ChatNotificationChannelFragment with the arguments supplied to this builder.
Link copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int): ChatNotificationChannelFragment.Builder
Sets the icon when the data is not exists.
Link copied to clipboard
open fun setEmptyText(@StringRes resId: Int): ChatNotificationChannelFragment.Builder
Sets the text when the data is not exists
Link copied to clipboard
open fun setErrorText(@StringRes resId: Int): ChatNotificationChannelFragment.Builder
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
Sets the click listener on the message template view clicked.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): ChatNotificationChannelFragment.Builder
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
open fun withArguments(@NonNull args: Bundle): ChatNotificationChannelFragment.Builder
Sets arguments to this fragment.