Builder
Constructors
Functions
Link copied to clipboard
Creates an CreateOpenChannelFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : CreateOpenChannelFragment?> setCustomFragment(fragment: T): CreateOpenChannelFragment.Builder
Sets the custom fragment.
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): CreateOpenChannelFragment.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
Sets the title of the header.
Link copied to clipboard
open fun setOnClearButtonClickListener(@Nullable clearButtonClickListener: View.OnClickListener): CreateOpenChannelFragment.Builder
Register a callback to be invoked when the clear button related to the input is clicked.
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): CreateOpenChannelFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): CreateOpenChannelFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnInputTextChangedListener(@NonNull textChangedListener: OnInputTextChangedListener): CreateOpenChannelFragment.Builder
Register a callback to be invoked when the input text is changed.
Link copied to clipboard
open fun setOnMediaSelectButtonClickListener(@Nullable onMediaSelectButtonClickListener: View.OnClickListener): CreateOpenChannelFragment.Builder
Register a callback to be invoked when the media selector is clicked.
Link copied to clipboard
Sets the create button text of the header.
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.