Builder
Constructors
Functions
Link copied to clipboard
Creates an OpenChannelRegisterOperatorFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : OpenChannelRegisterOperatorFragment?> setCustomFragment(fragment: T): OpenChannelRegisterOperatorFragment.Builder
Sets the custom fragment.
Link copied to clipboard
open fun setCustomPagedQueryHandler(@NonNull handler: PagedQueryHandler<User>): OpenChannelRegisterOperatorFragment.Builder
Sets the handler that loads the list of user.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): OpenChannelRegisterOperatorFragment.Builder
Sets the icon when the data is not exists.
Link copied to clipboard
Sets the text when the data is not exists
Link copied to clipboard
Sets the text when error occurs
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): OpenChannelRegisterOperatorFragment.Builder
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 setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): OpenChannelRegisterOperatorFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): OpenChannelRegisterOperatorFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnUserSelectChangedListener(@Nullable userSelectChangedListener: OnUserSelectChangedListener): OpenChannelRegisterOperatorFragment.Builder
Register a callback to be invoked when the user is selected.
Link copied to clipboard
open fun setOnUserSelectionCompleteListener(@Nullable userSelectionCompleteListener: OnUserSelectionCompleteListener): OpenChannelRegisterOperatorFragment.Builder
Register a callback to be invoked when selecting users is completed.
Link copied to clipboard
open fun setRegisterOperatorListAdapter(@NonNull adapter: OpenChannelRegisterOperatorListAdapter): OpenChannelRegisterOperatorFragment.Builder
Sets the user list adapter.
Link copied to clipboard
open fun setRightButtonText(@NonNull rightButtonText: String): OpenChannelRegisterOperatorFragment.Builder
Sets the right button text of the header.
Link copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): OpenChannelRegisterOperatorFragment.Builder
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): OpenChannelRegisterOperatorFragment.Builder
Sets whether the right button of the header is used.
Link copied to clipboard
Sets arguments to this fragment.