Builder
This is a Builder that is able to create the fragment of participants list. The builder provides options how the channel is showing and working. Also you can set the event handler what you want to override. since 2.0.0
Constructors
Functions
Link copied to clipboard
Creates an ParticipantListFragment with the arguments supplied to this builder.
Link copied to clipboard
open fun <T : ParticipantListFragment?> setCustomFragment(fragment: T): ParticipantListFragment.Builder
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ParticipantListFragment.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): ParticipantListFragment.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): ParticipantListFragment.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 setOnActionItemClickListener(@Nullable actionItemClickListener: OnItemClickListener<User>): ParticipantListFragment.Builder
Register a callback to be invoked when the action button of the item is clicked.
Link copied to clipboard
open fun setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): ParticipantListFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): ParticipantListFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnItemClickListener(@NonNull itemClickListener: OnItemClickListener<User>): ParticipantListFragment.Builder
Sets the click listener on the item of participants list.
Link copied to clipboard
open fun setOnItemLongClickListener(@NonNull itemLongClickListener: OnItemLongClickListener<User>): ParticipantListFragment.Builder
Sets the long click listener on the item of participants list.
Link copied to clipboard
open fun setOnProfileClickListener(@NonNull profileClickListener: OnItemClickListener<User>): ParticipantListFragment.Builder
Sets the click listener on the profile of message.
Link copied to clipboard
open fun <T : ParticipantListAdapter?> setParticipantListAdapter(adapter: T): ParticipantListFragment.Builder
Sets the participants list adapter.
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 whether the user profile uses.
Link copied to clipboard
Sets arguments to this fragment.