Builder
Constructors
Functions
Link copied to clipboard
Creates an ChannelListFragment with the arguments supplied to this builder.
Link copied to clipboard
Sets the channel list adapter.
open fun setChannelListAdapter(@Nullable adapter: ChannelListAdapter, @Nullable provider: MessageDisplayDataProvider): ChannelListFragment.Builder
Sets the channel list adapter and the message display data provider.
Link copied to clipboard
open fun setChannelListConfig(@NonNull channelListConfig: ChannelListConfig): ChannelListFragment.Builder
Sets the channel list configuration for this fragment.
Link copied to clipboard
Sets the custom fragment.
Link copied to clipboard
open fun setEmptyIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ChannelListFragment.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 setGroupChannelListQuery(@NonNull query: GroupChannelListQuery): ChannelListFragment.Builder
Sets the query instance to get
GroupChannel
s the current User
has joined.Link copied to clipboard
open fun setHeaderLeftButtonIcon(@DrawableRes resId: Int, @Nullable tint: ColorStateList): ChannelListFragment.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): ChannelListFragment.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 setOnHeaderLeftButtonClickListener(@NonNull listener: View.OnClickListener): ChannelListFragment.Builder
Sets the click listener on the left button of the header.
Link copied to clipboard
open fun setOnHeaderRightButtonClickListener(@NonNull listener: View.OnClickListener): ChannelListFragment.Builder
Sets the click listener on the right button of the header.
Link copied to clipboard
open fun setOnItemClickListener(@NonNull itemClickListener: OnItemClickListener<GroupChannel>): ChannelListFragment.Builder
Sets the click listener on the item of channel list.
Link copied to clipboard
open fun setOnItemLongClickListener(@NonNull itemLongClickListener: OnItemLongClickListener<GroupChannel>): ChannelListFragment.Builder
Sets the long click listener on the item of channel list.
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.