Package io.rong.imkit.usermanage.group.transfer

## Class GroupTransferViewModel

- All Implemented Interfaces:

      public class GroupTransferViewModel

  移交群主页面 ViewModel

  Since:

    5.12.2

  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
    --- | ---
    `GroupTransferViewModel(Bundle arguments)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `LiveData<List<ContactModel>>` | `getFilteredContactsLiveData()` |
    `void` | `queryGroupMembers(String query)` | 查询群成员
    `void` | `)>transferGroupOwner(GroupMemberInfo groupMemberInfo, OnDataChangeListener<Boolean> listener)` | 转移群主
    `void` | `)>loadNext(OnDataChangeListener<Boolean> listener)` |
    `boolean` | `hasNext()` |

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

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

- - ### Constructor Detail

    - #### GroupTransferViewModel

          GroupTransferViewModel(Bundle arguments)

  - ### Method Detail

    - #### getFilteredContactsLiveData

           LiveData<List<ContactModel>> getFilteredContactsLiveData()

    - #### queryGroupMembers

           void queryGroupMembers(String query)

      查询群成员

      Parameters:
        `query` - 查询关键字

    - #### transferGroupOwner

           void )>transferGroupOwner(GroupMemberInfo groupMemberInfo, OnDataChangeListener<Boolean> listener)

      转移群主

      Parameters:
        `groupMemberInfo` - 被转移的群成员信息

    - #### loadNext

           void )>loadNext(OnDataChangeListener<Boolean> listener)

    - #### hasNext

           boolean hasNext()