# ApplyFriendViewModel

public class ApplyFriendViewModel

申请好友列表页面ViewModel

#### Author

rongcloud

#### Since

5.12.0

## Constructors

ApplyFriendViewModel
Link copied to clipboard
public void ApplyFriendViewModel(Bundle bundle)

## Functions

acceptFriendApplication
Link copied to clipboard
public void acceptFriendApplication(String userId, OnDataChangeListener<Boolean> callback)
getFriendApplicationsLiveData
Link copied to clipboard
public MutableLiveData<List<UiFriendApplicationInfo>> getFriendApplicationsLiveData()
loadFriendApplications
Link copied to clipboard
public void loadFriendApplications(boolean isLoadMore)
public void loadFriendApplications(int type)
refuseFriendApplication
Link copied to clipboard
public void refuseFriendApplication(String userId, OnDataChangeListener<Boolean> callback)