Package io.rong.imkit.usermanage.friend.user.profile

## Class UserProfileViewModel

- All Implemented Interfaces:

      public class UserProfileViewModel

  用户资料页面ViewModel

  Since:

    5.12.0

  Author:

    rongcloud

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final MutableLiveData<GroupMemberInfo>` | `myGroupMemberInfoLiveData` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UserProfileViewModel(Bundle arguments)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `MutableLiveData<GroupMemberInfo>` | `getMyGroupMemberInfoLiveData()` |
    `MutableLiveData<UiUserDetail>` | `getUserProfilesLiveData()` |
    `MutableLiveData<ContactModel>` | `getContactModelLiveData()` |
    `UiUserDetail` | `getUiUserDetail()` |
    `void` | `)>deleteFriend(OnDataChangeListener<Boolean> callback)` |
    `void` | `getUserProfile()` |
    `void` | `)>applyFriend(String remark, OnDataChangeListener<CoreErrorCode> callback)` |

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

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

- - ### Constructor Detail

    - #### UserProfileViewModel

          UserProfileViewModel(Bundle arguments)

  - ### Method Detail

    - #### getMyGroupMemberInfoLiveData

           MutableLiveData<GroupMemberInfo> getMyGroupMemberInfoLiveData()

    - #### getUserProfilesLiveData

           MutableLiveData<UiUserDetail> getUserProfilesLiveData()

    - #### getContactModelLiveData

           MutableLiveData<ContactModel> getContactModelLiveData()

    - #### getUiUserDetail

           UiUserDetail getUiUserDetail()

    - #### deleteFriend

           void )>deleteFriend(OnDataChangeListener<Boolean> callback)

    - #### getUserProfile

           void getUserProfile()

    - #### applyFriend

           void )>applyFriend(String remark, OnDataChangeListener<CoreErrorCode> callback)