Builder
Constructors
Functions
Link copied to clipboard
Creates an OpenChannelModerationFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : OpenChannelModerationFragment?> setCustomFragment(fragment: T): OpenChannelModerationFragment.Builder
Sets the custom fragment.
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): OpenChannelModerationFragment.Builder
Sets the icon on the left button of the header.
Link copied to clipboard
open fun setHeaderRightButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): OpenChannelModerationFragment.Builder
Sets the icon on the right button of the header.
Link copied to clipboard
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): OpenChannelModerationFragment.Builder
Sets the custom loading dialog handler
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): OpenChannelModerationFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): OpenChannelModerationFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnMenuItemClickListener(@NonNull listener: OnMenuItemClickListener<OpenChannelModerationListComponent.ModerationMenu, BaseChannel>): OpenChannelModerationFragment.Builder
Sets the click listener on the menu item is clicked.
Link copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): OpenChannelModerationFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): OpenChannelModerationFragment.Builder
Sets whether the right button of the header is used.
Link copied to clipboard
Sets arguments to this fragment.