Builder
Constructors
Functions
Link copied to clipboard
Creates an BannedUserListFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : BannedUserListAdapter?> setBannedUserListAdapter(adapter: T): BannedUserListFragment.Builder
Content copied to clipboard
Sets the banned user list adapter.
Link copied to clipboard
open fun <T : BannedUserListFragment?> setCustomFragment(fragment: T): BannedUserListFragment.Builder
Content copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int): BannedUserListFragment.Builder
Content copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): BannedUserListFragment.Builder
Content copied to clipboard
Sets the icon when the data is not exists.
Link copied to clipboard
open fun setEmptyText(@StringRes resId: Int): BannedUserListFragment.Builder
Content copied to clipboard
Sets the text when the data is not exists
Link copied to clipboard
open fun setErrorText(@StringRes resId: Int): BannedUserListFragment.Builder
Content copied to clipboard
Sets the text when error occurs
Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): BannedUserListFragment.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): BannedUserListFragment.Builder
Content 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): BannedUserListFragment.Builder
Content copied to clipboard
Sets the icon on the right button of the header.
Link copied to clipboard
open fun setHeaderRightButtonIconResId(@DrawableRes resId: Int): BannedUserListFragment.Builder
Content copied to clipboard
Sets the icon on the right button of the header.
Link copied to clipboard
open fun setHeaderTitle(@NonNull title: String): BannedUserListFragment.Builder
Content copied to clipboard
Sets the title of the header.
Link copied to clipboard
open fun setLoadingDialogHandler(@NonNull loadingDialogHandler: LoadingDialogHandler): BannedUserListFragment.Builder
Content copied to clipboard
Sets the custom loading dialog handler
Link copied to clipboard
open fun setOnActionItemClickListener(@NonNull actionItemClickListener: OnItemClickListener<User>): BannedUserListFragment.Builder
Content copied to clipboard
Sets the action item click listener on the item of banned user list.
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): BannedUserListFragment.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): BannedUserListFragment.Builder
Content copied to clipboard
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnItemClickListener(@NonNull itemClickListener: OnItemClickListener<User>): BannedUserListFragment.Builder
Content copied to clipboard
Sets the click listener on the item of banned user list.
Link copied to clipboard
open fun setOnItemLongClickListener(@NonNull itemLongClickListener: OnItemLongClickListener<User>): BannedUserListFragment.Builder
Content copied to clipboard
Sets the long click listener on the item of banned user list.
Link copied to clipboard
open fun setOnProfileClickListener(@NonNull profileClickListener: OnItemClickListener<User>): BannedUserListFragment.Builder
Content copied to clipboard
Sets the click listener on the profile of message.
Link copied to clipboard
open fun setUseHeader(useHeader: Boolean): BannedUserListFragment.Builder
Content copied to clipboard
Sets whether the header is used.
Link copied to clipboard
open fun setUseHeaderLeftButton(useHeaderLeftButton: Boolean): BannedUserListFragment.Builder
Content copied to clipboard
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseHeaderRightButton(useHeaderRightButton: Boolean): BannedUserListFragment.Builder
Content copied to clipboard
Sets whether the right button of the header is used.
Link copied to clipboard
open fun setUseUserProfile(useUserProfile: Boolean): BannedUserListFragment.Builder
Content copied to clipboard
Sets whether the user profile uses.
Link copied to clipboard
open fun withArguments(@NonNull args: Bundle): BannedUserListFragment.Builder
Content copied to clipboard
Sets arguments to this fragment.