Class MyProfileViewModel
-
- All Implemented Interfaces:
public class MyProfileViewModel extends BaseViewModel
My profile page ViewModel
- Since:
5.12.0
-
-
Field Summary
Fields Modifier and Type Field Description public UserProfileuserProfileprotected final MutableLiveData<ErrorEvent<NCError>>errorEventLiveData
-
Constructor Summary
Constructors Constructor Description MyProfileViewModel(Bundle bundle)
-
Method Summary
Modifier and Type Method Description UserProfilegetUserProfile()MutableLiveData<UserProfile>getUserProfilesLiveData()voidonCleared()voidloadMyUserProfile()-
Methods inherited from class ai.nexconn.chatui.base.BaseViewModel
getArguments, getErrorEventLiveData, postErrorEvent -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUserProfile
UserProfile getUserProfile()
-
getUserProfilesLiveData
MutableLiveData<UserProfile> getUserProfilesLiveData()
-
onCleared
void onCleared()
-
loadMyUserProfile
void loadMyUserProfile()
-
-
-
-