Builder
Constructors
Functions
Link copied to clipboard
Creates an ChannelSettingsFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun setChannelSettingConfig(@NonNull channelSettingConfig: ChannelSettingConfig): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the channel setting configuration for this fragment.
Link copied to clipboard
open fun <T : ChannelSettingsFragment?> setCustomFragment(fragment: T): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the icon on the left button of the header.
Link copied to clipboard
open fun setHeaderLeftButtonIconResId(@DrawableRes resId: Int): ChannelSettingsFragment.Builder
Content 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
Content copied to clipboard
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the custom loading dialog handler
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnMenuClickListener(@NonNull listener: OnItemClickListener<ChannelSettingsMenuComponent.Menu>): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the channel setting menu click listener.
Link copied to clipboard
open fun setRightButtonText(@Nullable rightButtonText: String): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets the text on the right button of the header.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets whether the right button of the header is used.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): ChannelSettingsFragment.Builder
Content copied to clipboard
Sets arguments to this fragment.