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(): ChannelSettingsFragment
Creates an ChannelSettingsFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun setChannelSettingConfig(@NonNull channelSettingConfig: ChannelSettingConfig): ChannelSettingsFragment.Builder
Sets the channel setting configuration for this fragment.
Link copied to clipboard
open fun <T : ChannelSettingsFragment?> setCustomFragment(fragment: T): ChannelSettingsFragment.Builder
Sets the custom fragment.
Link copied to clipboard
Sets the icon on the left button of the header.
Link copied to clipboard
Sets the icon on the left button of the header.
Link copied to clipboard
open fun setHeaderTitle(@NonNull title: String): ChannelSettingsFragment.Builder
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): ChannelSettingsFragment.Builder
Sets the custom loading dialog handler
Link copied to clipboard
Sets the click listener on the left button of the header.
Link copied to clipboard
Sets the click listener on the right button of the header.
Link copied to clipboard
Sets the channel setting menu click listener.
Link copied to clipboard
open fun setRightButtonText(@Nullable rightButtonText: String): ChannelSettingsFragment.Builder
Sets the text on the right button of the header.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): ChannelSettingsFragment.Builder
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): ChannelSettingsFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): ChannelSettingsFragment.Builder
Sets whether the right button of the header is used.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): ChannelSettingsFragment.Builder
Sets arguments to this fragment.