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