Package io.rong.imkit

## Class KitFragmentFactory

- All Implemented Interfaces:

      public class KitFragmentFactory

  创建一个新Fragment。

  UIKit提供的每个屏幕都会通过这个工厂创建一个Fragment。

  要使用自定义片段，而不是默认片段，必须继承此 Factory。

  扩展工厂必须通过 setKitFragmentFactory方法在SDK中注册。

  Since:

    5.12.0

  Author:

    rongcloud

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `KitFragmentFactory()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `MyProfileFragment` | `newMyProfileFragment(Bundle args)` | 返回 MyProfileFragment.
    `UserProfileFragment` | `newUserProfileFragment(Bundle args)` | 返回 UserProfileFragment.
    `ApplyFriendListFragment` | `newApplyFriendListFragment(Bundle args)` | 返回 GroupNoticeFragment.
    `GroupCreateFragment` | `newGroupCreateFragment(Bundle args)` | 返回 GroupCreateFragment.
    `UpdateGenderFragment` | `newUpdateGenderFragment(Bundle args)` | 返回 UpdateGenderFragment.
    `UpdateNickNameFragment` | `newUpdateNikeNameFragment(Bundle args)` | 返回 UpdateNikeNameFragment.
    `GroupProfileFragment` | `newGroupProfileFragment(Bundle args)` | 返回 GroupProfileFragment.
    `FriendSelectFragment` | `newFriendSelectFragment(Bundle args)` | 返回 FriendSelectFragment.
    `AddFriendListFragment` | `newAddFriendListFragment(Bundle args)` | 返回 AddFriendListFragment.
    `FriendListFragment` | `newFriendListFragment(Bundle args)` | 返回 FriendListFragment.
    `FriendSearchFragment` | `newFriendSearchFragment(Bundle args)` | 返回 FriendSearchFragment.
    `AddGroupMembersFragment` | `newAddGroupMembersFragment(Bundle args)` | 返回 AddGroupMembersFragment.
    `RemoveGroupMembersFragment` | `newRemoveGroupMembersFragment(Bundle args)` | 返回 RemoveGroupMembersFragment.
    `GroupNicknameFragment` | `newGroupNicknameFragment(Bundle args)` | 返回 GroupNicknameFragment.
    `GroupNameFragment` | `newGroupNameFragment(Bundle args)` | 返回 GroupNameFragment.
    `GroupNoticeFragment` | `newGroupNoticeFragment(Bundle args)` | 返回 GroupNoticeFragment.
    `GroupMemberListFragment` | `newGroupMemberListFragment(Bundle args)` | 返回 GroupMemberListFragment.
    `GroupFollowsFragment` | `newGroupFollowsFragment(Bundle args)` | 返回 GroupFollowsFragment.
    `GroupManagementFragment` | `newGroupManagementFragment(Bundle args)` | 返回 GroupManagementFragment.
    `GroupManagerListFragment` | `newGroupManagerListFragment(Bundle args)` | 返回 GroupManagerListFragment.
    `GroupRemarkFragment` | `newGroupRemarkFragment(Bundle args)` | 返回 GroupRemarkFragment.
    `GroupAddFollowsFragment` | `newGroupAddFollowsFragment(Bundle args)` | 返回 GroupAddFollowsFragment.
    `GroupAddManagerFragment` | `newGroupAddManagerFragment(Bundle args)` | 返回 GroupAddManagerFragment.
    `GroupTransferFragment` | `newGroupTransferFragment(Bundle args)` | 返回 GroupTransferFragment.
    `GroupListFragment` | `newGroupListFragment(Bundle args)` | 返回 GroupListFragment.
    `GroupSearchFragment` | `newGroupSearchFragment(Bundle args)` | 返回 GroupSearchFragment.
    `GroupApplicationsFragment` | `newGroupApplicationsFragment(Bundle args)` | 返回 GroupApplicationsFragment.
    `MessageReadDetailFragment` | `newMessageReadDetailFragment(Bundle args)` | 返回 MessageReadDetailFragment.
    `GroupMentionFragment` | `newGroupMentionFragment(Bundle args)` | 返回 GroupMentionFragment.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KitFragmentFactory

          KitFragmentFactory()

  - ### Method Detail

    - #### newMyProfileFragment

           MyProfileFragment newMyProfileFragment(Bundle args)

      返回 MyProfileFragment.

      Parameters:
        `args` - 创建 MyProfileFragment 提供的参数
      Returns:

        MyProfileFragment

      Since:

        5.12.0

    - #### newUserProfileFragment

           UserProfileFragment newUserProfileFragment(Bundle args)

      返回 UserProfileFragment.

      Parameters:
        `args` - 创建 UserProfileFragment 提供的参数
      Returns:

        UserProfileFragment

      Since:

        5.12.0

    - #### newApplyFriendListFragment

           ApplyFriendListFragment newApplyFriendListFragment(Bundle args)

      返回 GroupNoticeFragment.

      Parameters:
        `args` - 创建 GroupNoticeFragment 提供的参数
      Returns:

        GroupNoticeFragment

      Since:

        5.12.0

    - #### newGroupCreateFragment

           GroupCreateFragment newGroupCreateFragment(Bundle args)

      返回 GroupCreateFragment.

      Parameters:
        `args` - 创建 GroupCreateFragment 提供的参数
      Returns:

        GroupCreateFragment

      Since:

        5.12.0

    - #### newUpdateGenderFragment

           UpdateGenderFragment newUpdateGenderFragment(Bundle args)

      返回 UpdateGenderFragment.

      Parameters:
        `args` - 创建 UpdateGenderFragment 提供的参数
      Returns:

        UpdateGenderFragment

      Since:

        5.12.0

    - #### newUpdateNikeNameFragment

           UpdateNickNameFragment newUpdateNikeNameFragment(Bundle args)

      返回 UpdateNikeNameFragment.

      Parameters:
        `args` - 创建 UpdateNikeNameFragment 提供的参数
      Returns:

        UpdateNickNameFragment

      Since:

        5.12.0

    - #### newGroupProfileFragment

           GroupProfileFragment newGroupProfileFragment(Bundle args)

      返回 GroupProfileFragment.

      Parameters:
        `args` - 创建 GroupProfileFragment 提供的参数
      Returns:

        GroupProfileFragment

      Since:

        5.12.0

    - #### newFriendSelectFragment

           FriendSelectFragment newFriendSelectFragment(Bundle args)

      返回 FriendSelectFragment.

      Parameters:
        `args` - 创建 FriendSelectFragment 提供的参数
      Returns:

        FriendSelectFragment

      Since:

        5.12.0

    - #### newAddFriendListFragment

           AddFriendListFragment newAddFriendListFragment(Bundle args)

      返回 AddFriendListFragment.

      Parameters:
        `args` - 创建 AddFriendListFragment 提供的参数
      Returns:

        AddFriendListFragment

      Since:

        5.12.0

    - #### newFriendListFragment

           FriendListFragment newFriendListFragment(Bundle args)

      返回 FriendListFragment.

      Parameters:
        `args` - 创建 FriendListFragment 提供的参数
      Returns:

        FriendListFragment

      Since:

        5.12.0

    - #### newFriendSearchFragment

           FriendSearchFragment newFriendSearchFragment(Bundle args)

      返回 FriendSearchFragment.

      Parameters:
        `args` - 创建 FriendSearchFragment 提供的参数
      Returns:

        FriendSearchFragment

      Since:

        5.12.0

    - #### newAddGroupMembersFragment

           AddGroupMembersFragment newAddGroupMembersFragment(Bundle args)

      返回 AddGroupMembersFragment.

      Parameters:
        `args` - 创建 AddGroupMembersFragment 提供的参数
      Returns:

        AddGroupMembersFragment

      Since:

        5.12.0

    - #### newRemoveGroupMembersFragment

           RemoveGroupMembersFragment newRemoveGroupMembersFragment(Bundle args)

      返回 RemoveGroupMembersFragment.

      Parameters:
        `args` - 创建 RemoveGroupMembersFragment 提供的参数
      Returns:

        RemoveGroupMembersFragment

      Since:

        5.12.0

    - #### newGroupNicknameFragment

           GroupNicknameFragment newGroupNicknameFragment(Bundle args)

      返回 GroupNicknameFragment.

      Parameters:
        `args` - 创建 GroupNicknameFragment 提供的参数
      Returns:

        GroupNicknameFragment

      Since:

        5.12.0

    - #### newGroupNameFragment

           GroupNameFragment newGroupNameFragment(Bundle args)

      返回 GroupNameFragment.

      Parameters:
        `args` - 创建 GroupNameFragment 提供的参数
      Returns:

        GroupNameFragment

      Since:

        5.12.0

    - #### newGroupNoticeFragment

           GroupNoticeFragment newGroupNoticeFragment(Bundle args)

      返回 GroupNoticeFragment.

      Parameters:
        `args` - 创建 GroupNoticeFragment 提供的参数
      Returns:

        GroupNoticeFragment

      Since:

        5.12.0

    - #### newGroupMemberListFragment

           GroupMemberListFragment newGroupMemberListFragment(Bundle args)

      返回 GroupMemberListFragment.

      Parameters:
        `args` - 创建 GroupMemberListFragment 提供的参数
      Returns:

        GroupMemberListFragment

      Since:

        5.12.0

    - #### newGroupFollowsFragment

           GroupFollowsFragment newGroupFollowsFragment(Bundle args)

      返回 GroupFollowsFragment.

      Parameters:
        `args` - 创建 GroupFollowsFragment 提供的参数
      Returns:

        GroupFollowsFragment

      Since:

        5.12.2

    - #### newGroupManagementFragment

           GroupManagementFragment newGroupManagementFragment(Bundle args)

      返回 GroupManagementFragment.

      Parameters:
        `args` - 创建 GroupManagementFragment 提供的参数
      Returns:

        GroupManagementFragment

      Since:

        5.12.2

    - #### newGroupManagerListFragment

           GroupManagerListFragment newGroupManagerListFragment(Bundle args)

      返回 GroupManagerListFragment.

      Parameters:
        `args` - 创建 GroupManagerListFragment 提供的参数
      Returns:

        GroupManagerListFragment

      Since:

        5.12.2

    - #### newGroupRemarkFragment

           GroupRemarkFragment newGroupRemarkFragment(Bundle args)

      返回 GroupRemarkFragment.

      Parameters:
        `args` - 创建 GroupRemarkFragment 提供的参数
      Returns:

        GroupRemarkFragment

      Since:

        5.12.2

    - #### newGroupAddFollowsFragment

           GroupAddFollowsFragment newGroupAddFollowsFragment(Bundle args)

      返回 GroupAddFollowsFragment.

      Parameters:
        `args` - 创建 GroupAddFollowsFragment 提供的参数
      Returns:

        GroupAddFollowsFragment

      Since:

        5.12.2

    - #### newGroupAddManagerFragment

           GroupAddManagerFragment newGroupAddManagerFragment(Bundle args)

      返回 GroupAddManagerFragment.

      Parameters:
        `args` - 创建 GroupAddManagerFragment 提供的参数
      Returns:

        GroupAddManagerFragment

      Since:

        5.12.2

    - #### newGroupTransferFragment

           GroupTransferFragment newGroupTransferFragment(Bundle args)

      返回 GroupTransferFragment.

      Parameters:
        `args` - 创建 GroupTransferFragment 提供的参数
      Returns:

        GroupTransferFragment

      Since:

        5.12.2

    - #### newGroupListFragment

           GroupListFragment newGroupListFragment(Bundle args)

      返回 GroupListFragment.

      Parameters:
        `args` - 创建 GroupListFragment 提供的参数
      Returns:

        GroupListFragment

      Since:

        5.12.2

    - #### newGroupSearchFragment

           GroupSearchFragment newGroupSearchFragment(Bundle args)

      返回 GroupSearchFragment.

      Parameters:
        `args` - 创建 GroupSearchFragment 提供的参数
      Returns:

        GroupSearchFragment

      Since:

        5.12.2

    - #### newGroupApplicationsFragment

           GroupApplicationsFragment newGroupApplicationsFragment(Bundle args)

      返回 GroupApplicationsFragment.

      Parameters:
        `args` - 创建 GroupApplicationsFragment 提供的参数
      Returns:

        GroupApplicationsFragment

      Since:

        5.12.2

    - #### newMessageReadDetailFragment

           MessageReadDetailFragment newMessageReadDetailFragment(Bundle args)

      返回 MessageReadDetailFragment.

      Parameters:
        `args` - 创建 MessageReadDetailFragment 提供的参数
      Returns:

        MessageReadDetailFragment

      Since:

        5.30.0

    - #### newGroupMentionFragment

           GroupMentionFragment newGroupMentionFragment(Bundle args)

      返回 GroupMentionFragment.

      Parameters:
        `args` - 创建 GroupMentionFragment 提供的参数
      Returns:

        GroupMentionFragment

      Since:

        5.34.0