ChatUIFragmentFactory

Factory for all UI screens provided by the ChatUI SDK.

Every screen in the SDK is created through this factory.

To replace any default screen with a custom Fragment, subclass this factory and override the corresponding newXxxFragment() method.

Register the custom factory via setFragmentFactory.

Since

5.12.0

Constructors

Link copied to clipboard
public void ChatUIFragmentFactory()

Functions

Link copied to clipboard
public AddFriendListFragment newAddFriendListFragment(Bundle args)
Creates a new AddFriendListFragment — search and add new friends by user ID or name.
Link copied to clipboard
public AddGroupMembersFragment newAddGroupMembersFragment(Bundle args)
Creates a new AddGroupMembersFragment — picker for adding new members to an existing group.
Link copied to clipboard
public ApplyFriendListFragment newApplyFriendListFragment(Bundle args)
Creates a new ApplyFriendListFragment — lists pending friend requests received from other users.
Link copied to clipboard
public ChannelFragment newChannelFragment(Bundle args)
Creates a new ChannelFragment — the main conversation screen showing message history and an input bar.
Link copied to clipboard
public ChannelListFragment newChannelListFragment(Bundle args)
Creates a new ChannelListFragment — the conversation list screen showing all recent conversations.
Link copied to clipboard
public CombineMessagePreviewFragment newCombineMessagePreviewFragment(Bundle args)
Creates a new CombineMessagePreviewFragment — preview screen for a combined (merged-forward) message.
Link copied to clipboard
public ForwardSelectChannelFragment newForwardSelectFragment(Bundle args)
Creates a new ForwardSelectChannelFragment — picker for selecting a conversation target to forward a message to.
Link copied to clipboard
public FriendListFragment newFriendListFragment(Bundle args)
Creates a new FriendListFragment — shows the current user's complete friend list.
Link copied to clipboard
public FriendSearchFragment newFriendSearchFragment(Bundle args)
Creates a new FriendSearchFragment — search for existing friends within the friend list.
Link copied to clipboard
public FriendSelectFragment newFriendSelectFragment(Bundle args)
Creates a new FriendSelectFragment — picker for selecting one or more friends from the friend list.
Link copied to clipboard
public GroupAddFollowsFragment newGroupAddFollowsFragment(Bundle args)
Creates a new GroupAddFollowsFragment — picker for selecting group members to follow.
Link copied to clipboard
public GroupAddManagerFragment newGroupAddManagerFragment(Bundle args)
Creates a new GroupAddManagerFragment — picker for promoting group members to administrator.
Link copied to clipboard
public GroupApplicationsFragment newGroupApplicationsFragment(Bundle args)
Creates a new GroupApplicationsFragment — lists pending group join applications for review.
Link copied to clipboard
public GroupCreateFragment newGroupCreateFragment(Bundle args)
Creates a new GroupCreateFragment — screen for creating a new group with an initial member selection.
Link copied to clipboard
public GroupFollowsFragment newGroupFollowsFragment(Bundle args)
Creates a new GroupFollowsFragment — lists group members the user is following.
Link copied to clipboard
public GroupListFragment newGroupListFragment(Bundle args)
Creates a new GroupListFragment — shows all groups the current user has joined.
Link copied to clipboard
public GroupManagementFragment newGroupManagementFragment(Bundle args)
Creates a new GroupManagementFragment — group management screen for owner/admin settings.
Link copied to clipboard
public GroupManagerListFragment newGroupManagerListFragment(Bundle args)
Creates a new GroupManagerListFragment — lists the current group administrators.
Link copied to clipboard
public GroupMemberListFragment newGroupMemberListFragment(Bundle args)
Creates a new GroupMemberListFragment — lists all members of a group.
Link copied to clipboard
public GroupMentionFragment newGroupMentionFragment(Bundle args)
Creates a new GroupMentionFragment — picker for selecting group members to @mention in a message.
Link copied to clipboard
public GroupNameFragment newGroupNameFragment(Bundle args)
Creates a new GroupNameFragment — allows the group owner to edit the group's name.
Link copied to clipboard
public GroupNicknameFragment newGroupNicknameFragment(Bundle args)
Creates a new GroupNicknameFragment — allows the user to set their nickname within a specific group.
Link copied to clipboard
public GroupNoticeFragment newGroupNoticeFragment(Bundle args)
Creates a new GroupNoticeFragment — displays and allows editing of the group announcement/notice.
Link copied to clipboard
public GroupProfileFragment newGroupProfileFragment(Bundle args)
Creates a new GroupProfileFragment — displays group details and settings for a specific group.
Link copied to clipboard
public GroupSearchFragment newGroupSearchFragment(Bundle args)
Creates a new GroupSearchFragment — search for groups by name or group ID.
Link copied to clipboard
public GroupTransferFragment newGroupTransferFragment(Bundle args)
Creates a new GroupTransferFragment — transfers group ownership to another member.
Link copied to clipboard
public MentionMemberSelectFragment newMentionMemberSelectFragment(Bundle args)
Creates a new MentionMemberSelectFragment — picker for selecting a group member to @mention.
Link copied to clipboard
public MessageReadDetailFragment newMessageReadDetailFragment(Bundle args)
Creates a new MessageReadDetailFragment — shows who has read a specific message (read-receipt detail).
Link copied to clipboard
public MyProfileFragment newMyProfileFragment(Bundle args)
Creates a new MyProfileFragment — displays the current user's own profile and allows editing personal information.
Link copied to clipboard
public RemoveGroupMembersFragment newRemoveGroupMembersFragment(Bundle args)
Creates a new RemoveGroupMembersFragment — picker for removing existing members from a group.
Link copied to clipboard
public SubChannelListFragment newSubChannelListFragment(Bundle args)
Creates a new SubChannelListFragment — the sub-channel list screen for community/forum channels.
Link copied to clipboard
public UpdateGenderFragment newUpdateGenderFragment(Bundle args)
Creates a new UpdateGenderFragment — allows the user to update their gender in their profile.
Link copied to clipboard
public UpdateNickNameFragment newUpdateNikeNameFragment(Bundle args)
Creates a new UpdateNickNameFragment — allows the user to update their display nickname.
Link copied to clipboard
public UserProfileFragment newUserProfileFragment(Bundle args)
Creates a new UserProfileFragment — displays another user's profile page.