Builder
Constructors
Functions
Link copied to clipboard
Creates an ModerationFragment with the arguments supplied to this builder.
Link copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ModerationFragment.Builder
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 setHeaderRightButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ModerationFragment.Builder
Sets the icon on the right button of the header.
Link copied to clipboard
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): ModerationFragment.Builder
Sets the custom loading dialog handler
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): ModerationFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): ModerationFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnMenuItemClickListener(@NonNull listener: OnMenuItemClickListener<ModerationListComponent.ModerationMenu, BaseChannel>): ModerationFragment.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
Sets whether the left button of the header is used.
Link copied to clipboard
Sets whether the right button of the header is used.
Link copied to clipboard
Sets arguments to this fragment.